D
Dave B.
Hey gang, I am probably missing something basic.
I have a bunch of arrays in one of my ASP scripts, and I need to construct
the reference to the variable through some string contatenations.
Example:
- one of my variables is 'strQ1a(13)' and earlier in the script I assign a
value to it.
- I construct the name of this variable through code like
response.write="str" & myQuestionNumber & "(" & myrs.fields("value") & ")"
- VBScript just evaluates this as a string and rather than displaying the
VALUE of variable strQ1a(13), it justs displays "strQ1a(13)"
How can I get it to look at this as a variable and get the value?
I have a bunch of arrays in one of my ASP scripts, and I need to construct
the reference to the variable through some string contatenations.
Example:
- one of my variables is 'strQ1a(13)' and earlier in the script I assign a
value to it.
- I construct the name of this variable through code like
response.write="str" & myQuestionNumber & "(" & myrs.fields("value") & ")"
- VBScript just evaluates this as a string and rather than displaying the
VALUE of variable strQ1a(13), it justs displays "strQ1a(13)"
How can I get it to look at this as a variable and get the value?