mushin
Programmer
- Oct 4, 2000
- 49
dim tmp1, tmp2, tmp3, myVar as string.
dim myNbr as integer
myVar = "some data values"
myNbr = 1
"tmp" & myNbr = myVar
I need to build my variable name and assign its value based on values in other variables as above.
in the example above I want a variable called tmp1 to be assigned the contents of myVar.
Some suggested usung a function called Eval() but I can find no reference to it in VB....
Any ideas ????
dim myNbr as integer
myVar = "some data values"
myNbr = 1
"tmp" & myNbr = myVar
I need to build my variable name and assign its value based on values in other variables as above.
in the example above I want a variable called tmp1 to be assigned the contents of myVar.
Some suggested usung a function called Eval() but I can find no reference to it in VB....
Any ideas ????