I think the term you're looking for is dynamic variable names. Have a look
at this syntax FORM["myVar"] for the form scope. You can then build the
string to be anything you want, FORM["myVar" & 1], FORM["myVar" & 2] or
FORM[someVariableThatEquatesToAString]. Comes in very handy at times.


Ade

-----Original Message-----
From: Bailey, Neal [mailto:[EMAIL PROTECTED]
Sent: 29 January 2004 16:57
To: CF-Talk
Subject: Form Name as Variable?

Hello all,

This seems simple... but I can't figure it out...

I need to set a Form Name as a variable.

Example: if I have a form that generates a list like:

stateForm1 = TX,CA,MI,UT,FL
stateForm2 = TX,UT,FL
stateForm3 = TX,WA

How can I set stateForm1 as its own variable?

Hope this makes sense.

Neal Bailey
Internet Marketing Manager
UGA-Association Field Services
E-mail:  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to