Advertisement         >> Go to tutorial

vbWatchdog - Global Error Handler

Transform your VBA error handling.  vbWatchdog offers a robust mechanism for
catching and logging errors that occur in your VBA code on a global scale.

  • No DLLs required - vbWatchdog is coded neatly inside your VBA environment
  • Allows you to log the full callstack that lead up to the exception
  • Reports the values of variables within each procedure on the callstack
  • Offers a Try-Catch paradigm for simplifying local error handling
  • Prevents the Access Runtime from closing on unhandled errors
  • List the exact line number to identify the line of code that failed

Download the FREE Trial             Sample.MDB

 

Your VBA error dialogs could look like this:

vbWatchdog Error Dialog Example


Renaming fields and tracing dependencies

by Allen Browne, 20 April 2005
Applies to: Access 2000+
User Level: Easy
Views: 1,115
Rating: ***** (1 vote)
Comments: 0   Have your say...

Microsoft Access Tips for Serious Users

Provided by Chas Dillon, November 2003. Updated May 2006.


Renaming fields and tracing dependencies

If you rename a field in a table, you must also change that name in each query, report, macro, and module that refers to the field. How do you find all instances?

Access 2000 and later provide Name AutoCorrect options: Tools | Options | General in Access 2000 - 2003, or in Access 2007: Office Button | Access Options | Current Database. However, the built-in tool is buggy, incomplete, and is a performance nightmare. Access 2003 provides dependency information directly, but only if you are willing to use the Track name AutoCorrect info.

Chas Dillon has prepared a utility for Access 2000 and later to find and/or alter the name in queries, forms, and reports. It also includes code to document the schema of the database, as a text file and/or as an Access report.

The utility consists of an Access 2000 database containing the code, and a text file explaining its purpose and usage.

You will need to be familiar with VBA to use this utility.

Download the utility


Home Index of tips Top

Please Note: This is a cached tutorial (reproduced with permission).
To view the tutorial at its original location click here.



Rate this article:   Your rating: Poor Your rating: Not so good Your rating: Average Your rating: Good Your rating: Excellent

Have your say - comment on this article.

What did you think of 'Renaming fields and tracing dependencies'?

No comments yet.

Why not be the first to comment on this article?!

Have your say...

Name
E-mail (e-mail address will be kept private)
Comments
Verify Code
Verification Code
Please note: It may take 30 seconds after clicking submit - please be patient to avoid duplicate submissions.   All comments must be approved before being displayed on this web page.  This process may take up to 24 hours.


Site tools

SmartAccess
300+ articles.
Promo code EA-45K2D46TVS