[FX.php List] Dynamic Field Names

Gjermund Gusland Thorsen ggt667 at gmail.com
Tue Jul 25 14:44:57 MDT 2006


It would be very nice to be able to insert value into field by: -recid
then an ordinary table could be used... for stacking data.

ggt667

On 7/25/06, Frank <frank at pottnerconsulting.ca> wrote:
> 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
> >
> >
>
> _______________________________________________
> 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