Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / July 2005

Tip: Looking for answers? Try searching our database.

Turning off 'On Error Resume'

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David C. Holley - 26 Jul 2005 23:06 GMT
I should know this, but obviously I don't...

If I envoke error handling using On Error [Whatever: Goto, Resume, etc.]
is there a statement that I can execute which will negate the On Error
command? Once the section of code that the On Error handles is finished,
I want to change how errors are handled - for now, to break on an error.
Dirk Goldgar - 26 Jul 2005 23:17 GMT
> I should know this, but obviously I don't...
>
[quoted text clipped - 3 lines]
> is finished, I want to change how errors are handled - for now, to
> break on an error.

"On Error GoTo 0" restores the default error-handling;  "On Error Resume
Next" establishes in-line error handling (or "error ignoring", if you
are so inclined).

Signature

Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.