Hi
We're using the standard
While not objRS.EOF
...
objRS.MoveNext
Wend
However if we embed the object inside another While...Wend then it fails with an exception error, eg:
While not objRS.EOF
Response.Write "<tr>"
While PersonCount < 4
Response.Write "<td>some stuff from a database</td>"
PersonCount = PersonCount + 1
objRS.MoveNext
Wend
Response.Write "</tr">
Wend
If we replace the inner While...Wend with a For...Next we get the exact same problem.
Any thoughts?
Ta!
-Colin
We're using the standard
While not objRS.EOF
...
objRS.MoveNext
Wend
However if we embed the object inside another While...Wend then it fails with an exception error, eg:
While not objRS.EOF
Response.Write "<tr>"
While PersonCount < 4
Response.Write "<td>some stuff from a database</td>"
PersonCount = PersonCount + 1
objRS.MoveNext
Wend
Response.Write "</tr">
Wend
If we replace the inner While...Wend with a For...Next we get the exact same problem.
Any thoughts?
Ta!
-Colin