I am retrieving data from a data base using ASP, and putting it into text boxes.
The data has the format of strVar(i). i can be from 0 to 60 depending on what it gets from the data base.
strVar(0) always contains the number of records returned from the query.
What is wrong with this code ???
myArray = new Array();
for (i = 1; i <= strVar0; i++) {
myArray = strVar(i);
}
It doesn't seem to like strVar(i)
The data has the format of strVar(i). i can be from 0 to 60 depending on what it gets from the data base.
strVar(0) always contains the number of records returned from the query.
What is wrong with this code ???
myArray = new Array();
for (i = 1; i <= strVar0; i++) {
myArray = strVar(i);
}
It doesn't seem to like strVar(i)