[FX.php List] How to use SetFMGlobal
Bob Patin
bob at patin.com
Tue May 10 08:31:12 MDT 2011
Malcolm,
I've not used that function, but I would guess, as with all of the FX functions, that it's fairly straightforward.
Do you have the global on your web layout? If not, there's your problem.
After you set the field, try echoing an error message:
echo $queryResult['errorCode'];
If it's a 102 error then the field isn't on the web layout; anything other than a 0 means something's amiss.
HTH,
Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com
iChat: bobpatin
FileMaker 9, 10 & 11 Certified Developer
Member of FileMaker Business Alliance and FileMaker TechNet
--
Expert FileMaker Consulting
FileMaker Hosting for all versions of FileMaker
PHP • Full email services • Free DNS hosting • Colocation • Consulting:
On May 10, 2011, at 3:37 AM, Malcolm Fitzgerald wrote:
> I'm new to FX.php
>
> I can obtain results from my database on a simple search. Now I would like to extend the results by performing a script which relies on a global field. Whenever I include SetFMGlobal I don't get a result. If I comment out the line I do get a result, though my script returns the wrong set because the global is empty.
>
> Any hints appreciated.
>
> Malcolm_______________________________________________
> 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/20110510/e137c180/attachment.html
More information about the FX.php_List
mailing list