Implemented in version 1.0
On Error Resume Next
On Error GoTo 0
The On Error Resume Next statement gives you a limited amount of error handling control by preventing program interruptions from runtime errors. When an error occurs, by using this statement, the line of code containing the error is simply skipped over and the program continues running.
Note that the error is not corrected, just ignored, and an error message is not displayed. Of course, your program may still crash or give erroneous output if the error involves a value required to successfully execute later portions of your code.
<% On Error Resume Next %>
The On Error GoTo 0 statement is used to disable error handling.
<% On Error GoTo 0 %>
If you wish to know whether an error has occurred and of what type, you can insert the following code.
<% If Err.Number <> 0 Then %>
<% =Err.Number%>
<% Err.Clear %>

Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information