[FX.php List] Function listing fields on layout?

Andy Gaunt andy at fmpug.com
Sat Jan 20 07:07:26 MST 2007


Hi Jonathon,

You can use the fields section of the FX array to return field names for the
layout.

So instead of $queryResult['data'] use $queryResult['fields']


foreach ($queryResult['fields'] as $key => $value) {
echo$value['name'] ."<br />";
}

The above will loop through the fields section of the array and echo the
names of the fields.

HTH

Andy Gaunt
Office: 321.206.3658
Mobile: 407.810.4722
andy at fmpug.com
http://www.fmpug.com    

2006 FileMaker Excellence Award Winner
Recipient of FileMaker's 2005 "Mad Dog" Public Relations Award

For chapter locations, dates & times please visit the website at
http://www.fmpug.com If you can make it to a meeting, please RSVP at
http://www.fmpug.com/rsvp.php

-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Jonathan Schwartz
Sent: Saturday, January 20, 2007 12:28 AM
To: FX.php Discussion List
Subject: [FX.php List] Function listing fields on layout?

Hi Folks,

Is there an fx.php function that can list the fields on a given layout?

TIA,

Jonathan
-- 

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

_______________________________________________
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