Please help. I have the folling code
Code:
On Error Resume Next
If Err.Number <> 0 Then
Response.write "errror"
End If
I have called a field from a database that does not exisit, this would normally cause an error. But for some reason I doesnt get into the IF statement above. If i add
Err.Number = 1
Then it does go into the IF statement. What am i doing wrong please? Do I need to setup / declare Err somewhere. I am new to this on error code.
Thanks
Matthew
Matthew Wilde
matthew@ukwebsite.com