[FX.php List] Return original & duplicated record
Denis Somar
dsomar at gmail.com
Tue Jan 10 19:50:28 MST 2012
Thanks everyone for chiming in. I really like fx.php but still have a
difficult time wrapping my head around some syntax.
With that said, is -recid pointing to an internal ID value that is
maintained on my behalf by FM, or is it the unique ID / key that I created
in my table?
Thanks again,
Denis
On Tue, Jan 10, 2012 at 5:27 PM, Tim 'Webko' Booth <tim at nicheit.com.au>wrote:
>
> On 11/01/2012, at 9:01 AM, BEVERLY VOTH wrote:
>
> You can do an "or" find on -recid? (two requests, one find)
>>
>
> That would be the way I'd do it... get -recid into a session variable, run
> FMDup and get the new -recid then use a -lop=or to find both at the same
> time.
>
> Even easier on the server, if all the information has already been
> retrieved before the duplication is to hold that array, and just get the
> new -recid back and display (the records are duplicates, after all) - this
> method wouldn't work in most of my systems though, as I also have a primary
> key that changes for any new record... But for display purposes, it may be
> of use.
>
> cheers
>
> Webko
>
> ______________________________**_________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/**mailman/listinfo/fx.php_list<http://www.iviking.org/mailman/listinfo/fx.php_list>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120110/56cd3232/attachment.html
More information about the FX.php_List
mailing list