Hi,
I'm getting out of range errors when i populate an array (vbscript) from a recordset. It's because i don't fully understand the finer details i suppose.
intCount = 0
rs.moveFirst
Do while NOT rs.EOF
response.write rs.EOF
response.write intCount
intCount = intCount + 1
rs.moveNext
Loop
returns this:
False0False1False2False3False45
one too many!
thanks in advance!What is the error message?|||Originally posted by Satya
What is the error message?
There are 5 rows in the record set and it loops through 6 times. So my array has an out of range error.
sorry not to be clear. Der!
Showing posts with label errors. Show all posts
Showing posts with label errors. Show all posts
Sunday, February 19, 2012
Subscribe to:
Posts (Atom)