[FX.php List] Debugging my move to FM v12
Bob Patin
bob at patin.com
Tue May 21 10:09:46 MDT 2013
If you do need to search on the recid, I would do it exactly as you did, with a calc field equal to get ( recordID ).
I don't think using '-recid' will ever work as a parameter in a FIND, because that's not a field name.
Bob Patin
Longterm Solutions LLC
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com
FileMaker 9, 10 & 11 Certified Developer
Member of FileMaker Business Alliance and FileMaker TechNet
--
Twitter: bobpatin
AIM: longterm1954
iChat: bobpatin
--
Expert FileMaker Consulting
FileMaker Hosting for all versions of FileMaker
On May 20, 2013, at 12:16 PM, "Ness, David" <dness at bondedbuilders.com> wrote:
> Hi everyone! Looking forward to seeing everyone at DevCon this year. I've been off-list for a while, but still doing my fx.php thing.
>
> I am late to the FM v12 party, but I'd like to make the transition before DevCon but I'm running into a problem that I can seem to figure out. I'm sorry if this has been covered in previous threads.
>
> Everything here works great when using a FMSA v11, but when using v12, when I perform a FMFind, some values in the return array appear to be missing.
>
> After much experimentation, I discovered that when I replace:
>
> $applicationdata->AddDBParam('-recid', $_SESSION['application_recid'], "eq" );
>
> with:
>
> $applicationdata->AddDBParam('recordid', $_SESSION['application_recid'], "eq" );
>
> Everything now appears to work.
>
> 'recordid' is a field I added to my FileMaker table that simply is a calc field = Get ( RecordID )
>
>>>> Q: Is there something about using '-recid' that has changed when using FMSA v12?
>
> FX_VERSION = 4.5.1
>
> Thanks!
> David Ness
> FileMaker & Web Applications Developer
>
> _______________________________________________
> 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