Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with Error Trapping

Status
Not open for further replies.

Alabaster

Programmer
Aug 11, 2001
44
CA
This may seem like an odd request, but I have an ASP application that I would like to use "On Error Resume Next" to test for a certain condition, but after I have my result re-enable erroring. Does any one know what the opposite of "On Error Resume Next" is?

Thanks

Albaster
 
I'm not really sure about this, but I think this will do it for you.

Try issuing On Error by itself.

Happy Debugging :)

ToddWW
 
I'm not sure if I'm confusing my syntax, but you might want to try

On Error Resume 0

hth leo

------------
Leo Mendoza
lmendoza@students.depaul.edu
 
If that worked, then great, but the usual syntax (just for clarification) is:

on error goto 0

to turn error trapping back on (or is it off?) ;-)
penny.gif
penny.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top