[FX.php List] Dynamic Field Names

Derrick Fogle derrick at fogles.net
Tue Jul 25 10:52:33 MDT 2006


Filemaker itself does not have dynamic setfield[] commands; the  
target field for a setfield[] command must be explicitly stated in  
the script step. Don't ask how long us FMP developers have been  
asking for dynamic setfield commands.

On Jul 25, 2006, at 11:45 AM, 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


Derrick Fogle
derrick at fogles.net





More information about the FX.php_List mailing list