[FX.php List] Return original & duplicated record
Steven Thoms
sthoms at wavecomm.com
Tue Jan 10 13:28:18 MST 2012
Denins,
There is a function FMDup():
<code>
$InstanceName->AddDBParam('-recid', $selectedRecord);
$ReturnedData = $InstanceName->FMDup();
</code>
which will return you the data for the duped record.
Once you have the data, display it as you wish...
Steve
207 798-0171
On Jan 10, 2012, at 3:21 PM, Joel Shapiro wrote:
> Hi Denis
>
> I'd look into running a FileMaker script (via FX.php) to duplicate
> the record. My guess is that the results of that query -- including
> the FMScript -- would actually return both records (although I
> haven't tried it)
>
> HTH,
> -Joel
>
>
> On Jan 10, 2012, at 11:29 AM, Denis Somar wrote:
>
>> Hi all,
>>
>> I want to give my users the ability to duplicate a single record
>> when browsing a single record. So they click the link to dupe it,
>> then the page should show both the original and dupe record. Any
>> ideas on how to accomplish this?
>>
>> Many TIA,
>> Denis
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
More information about the FX.php_List
mailing list