Forum Moderators: open

Message Too Old, No Replies

End "On Error Resume Next"

How to end the on error resume next status

         

woop01

1:30 pm on May 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've got an ASP script that I need to enable error trapping in one section of the script but not some other parts. Basically, if the SQL Server is rebooting I need the page to redirect but if everything is okay I don't want the on error resume next to remain.

Is there a command to 'turn off' on error resume next?

Iguana

2:42 pm on May 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



on error goto 0

turns it off