hello,
sorry, this is probably a really basic problem, but i keep getting this error from my ASP page, along with "Object doesn't support this property or method: 'BOF'" ,
my code for the section it keeps getting stuck on is:
If RS.BOF And RS.EOF Then
Response.Write "There are 0 records."
Else
RS.MoveFirst
while Not RS.EOF
Response.write("<h1>"&RS("ShopName"
&"</h1><br>"
Response.write(RS("Address1"
)
RS.MoveNext
Wend
End If
when i comment out the lines involving "BOF" or "EOF", it gets stuck on the RS.MoveFirst and RS.MoveNext lines...
if anyone could help i would most appreciate it!
cheers,
matt
sorry, this is probably a really basic problem, but i keep getting this error from my ASP page, along with "Object doesn't support this property or method: 'BOF'" ,
my code for the section it keeps getting stuck on is:
If RS.BOF And RS.EOF Then
Response.Write "There are 0 records."
Else
RS.MoveFirst
while Not RS.EOF
Response.write("<h1>"&RS("ShopName"
Response.write(RS("Address1"
RS.MoveNext
Wend
End If
when i comment out the lines involving "BOF" or "EOF", it gets stuck on the RS.MoveFirst and RS.MoveNext lines...
if anyone could help i would most appreciate it!
cheers,
matt