[FX.php List] Re: FX.php_List Digest, Vol 26, Issue 7
Jonathan Schwartz
jonathan at eschwartz.com
Wed Sep 6 11:40:13 MDT 2006
Mark,
Thanks for the clarification. I started talking
about single record return and ended up
describing multiple record return.
Jonathan
>Jonathan et al,
>
>A correction to your finding recID from the data returned in FMNew()
>
> foreach($searchResult['data'] as $key => $value);
> $recordDetails=explode('.',$key);
> $currentRecord=$recordDetails[0];
>
>Take the { } out and end your foreach with a ';'
>
>Otherwise you are telling it to loop through all the data.
>In this case only one record is found - so it will only loop once and there
>are cases when you want the recid for a series of record.
>
>But in the case of only one record - this is better coding.
>
>
>------------------------------
>Mark Lindal
>Publications Technician / Technicien, publications
>Canadian Forest Service / Service canadien des forêts
>Natural Resources Canada / Ressources naturelles Canada
>Government of Canada / Gouvernement du Canada
>506 West Burnside Road / 506, chemin Burnside ouest
>Victoria, BC V8Z 1M5 / Victoria (C.-B.) V8Z 1M5
>
>mlindal at pfc.forestry.ca
>250-363-0603
>
>
>
>_______________________________________________
>FX.php_List mailing list
>FX.php_List at mail.iviking.org
>http://www.iviking.org/mailman/listinfo/fx.php_list
--
Jonathan Schwartz
FileMaker 8 Certified Developer
Associate Member, FileMaker Solutions Alliance
Schwartz & Company
jonathan at eschwartz.com
http://www.eschwartz.com
http://www.exit445.com
415-381-1852
More information about the FX.php_List
mailing list