Hi MATTXtwo,
The first thing to do is to put the following line at the top of your page:
- <%
-
On Error Resume Next
-
%>
This tells the interpreter to ignore any errors and carry on processing the script. The next thing you need is a bit of code to trap any errors which occur:
- <%
-
If Not Err.Number = 0 Then
-
Response.Write Err.Description
-
Error.Clear
-
End If
-
%>
You can put whatever you like in this second bit of code to handle the error as required.
Hope this helps and let me know how you get on,
Dr B