[FX.php List] Dynamic Field Names

Frank frank at pottnerconsulting.ca
Tue Jul 25 11:50:26 MDT 2006


You can do it with variables in a FileMaker script using the Let  
function but as far as I know you can't get the variables into PHP so  
that's probably of no use to you.


On Jul 25, 2006, at 12:45 PM, David Tinoco wrote:

> This is a filemaker/fx question.
>
> Is it possible to create field names dynamically in scripts?
>
> For example, if you had 5 fields named: field1, field2, field3,  
> field4, field5,
>
> Could you write a script that went something like this:
>
> set g_couner[1];
> Loop
> Exit loop if g_counter>5;
> set field("field")&g_counter;"abctest"  [the field() is my conjecture]
> set g_counter[g_counter+1]
> End Loop
>
> Thanks guys,
> David
> davet15 at hotmail.com
> _________________________________________________________________
> Try Live.com - your fast, personalized homepage with all the things  
> you care about in one place.
> http://www.live.com/ 
> getstarted_______________________________________________
> 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