Switching Error Checking on and off

C

Chris

I want to do some error checking using on resume next to determine whether
to commit an ADO transaction. However we have a custom 500 error page which
we use through out the rest of the site. Can I remove the on error resume
next after I have rolled back the transaction and raise a normal error.
Regards, Chris.
 
B

Bob Barrows [MVP]

Chris said:
I want to do some error checking using on resume next to determine
whether to commit an ADO transaction. However we have a custom 500
error page which we use through out the rest of the site. Can I
remove the on error resume next after I have rolled back the
transaction and raise a normal error. Regards, Chris.

On Error Goto 0

shuts off error-trapping
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,141
Messages
2,570,817
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top