[FX.php List] Return original & duplicated record

Beverly Voth beverlyvoth at gmail.com
Tue Jan 10 20:01:12 MST 2012


The internal id created by filemaker. It can change (such as when records are imported or duplicated). But it is UNIQUE for each record in a table. You can retrieve the -recid and use it for delete or duplicate. 

HTH

-- sent from my iPhone4 --
Beverly Voth
--

On Jan 10, 2012, at 9:50 PM, Denis Somar <dsomar at gmail.com> wrote:

> 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
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> 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/69814f97/attachment.html


More information about the FX.php_List mailing list