Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using variable contents as a variable

Status
Not open for further replies.

rkfox

Programmer
Feb 15, 2002
26
US
How can I use the contents of a variable as a variable name? I think I can but can't think of the right syntax.


IE:
variable var1 has the name of a field I want to update (CEMarkDatemessage) in it

Can I do this by using var1 somehow?

CEMarkdateMessage = "Date invalid reenter!"

Thanks
 
Experiment with:

myField=Eval("var1") ASCII silly question, get a silly ANSI
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top