Solved

adding error handling to entire db

Posted on 2013-01-25
5
224 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

914 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now