Solved

adding error handling to entire db

Posted on 2013-01-25
5
225 Views
Last Modified: 2013-01-25
I have an mdb which badly need error handling added. I found mz tools but it only seems to add it to one procedure at a time.

How could I add error handling to the entire db?
0
Comment
Question by:Shawn
  • 3
  • 2
5 Comments
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 500 total points
ID: 38820910
For sure, you will want to take a look at this:

http://www.everythingaccess.com/vbwatchdog.htm
(read my review on the right side)

However, you pretty much will have to manually add error handling to procedures one at a time. Not aware of a tool that would go through and add EH everywhere ... that would be kind of difficult - too many variables to deal with.

mx
0
 
LVL 1

Author Comment

by:Shawn
ID: 38820971
looks pretty nice. So I would just set up one global handler and leave any EH I already have in place?
0
 
LVL 75
ID: 38820982
"and leave any EH I already have in place?"
Well ... yes.  The GEH will tap into the existing EH automatically.  All errors effectively get routed to the GEH.

It's a sweet system with a LOT of additional functionality.
0
 
LVL 1

Author Comment

by:Shawn
ID: 38820992
nice. worth the $ then. That should save me a lot of time and help debug.

thanks mx!


...closing this one but have another question or 2 about a refresh crash. I'll post them seperately.
0
 
LVL 75
ID: 38821005
vbWD is VERY cool ... definitely a time saver.

mx
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question