ASP/VB Script: how do i assign dynamic variables into an array
Posted on 2004-09-16
I have a dynamically created form. Based on available values from my database.
Now when i user checks what he wants on the check box, it passes the variables to the other page, where i would want to use an array to catch all the values available.
I am using the script below to try and catch all variables, which i want to restrict to 6
Here is the script i am using, but keep getting the error "type mismatch"
for each item in request.form
arrayMe(a) = request.form(item)
a = a+1
for a = 0 to Ubound(arrayMe)
any advice ? Or coudl anyone assist me with a different mechanism of getting this done ?