snowboardr
Programmer
No matter what I try I can't get it to not error if a user is not found. I have tried everything accept the right way I guess!
I get this error trying to do it this way:
If Not rs.EOF Then
Response.write username
else
Response.write "Not found"
end if
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'EOF'
profile.asp, line 65
I have tried this way as well:
If EOF or BOF then
response.write "user not found"
else
response.write username
end if
Any suggestions??
-Jason
I get this error trying to do it this way:
If Not rs.EOF Then
Response.write username
else
Response.write "Not found"
end if
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'EOF'
profile.asp, line 65
I have tried this way as well:
If EOF or BOF then
response.write "user not found"
else
response.write username
end if
Any suggestions??
-Jason