[thelist] VBScript - declaring dynamically named vars in a For loop

thelist at cjmarsh.com thelist at cjmarsh.com
Thu Mar 3 14:04:58 CST 2005


Ron

> I've already sussed that part out, creating the dynamic form fields
> themselves. What I'm attempting to do now is read in those 
> dynamic fields,
> create the appropriate number of vars to hold the contents of 
> each field,
> and then check those fields for errors before submitting the data to a
> database. 

There is no Eval function in VBScript, so I don't believe that it is
possible to do what you wish. Irregardless of this, a better manner in
which to approach your problem is to use a dynamic array.

Regards

Chris Marsh



More information about the thelist mailing list