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


Mail Merge with Word for Windows

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

MS-Access Tips for Casual Users

Provided by Allen Browne, allen@allenbrowne.com


Mail Merge with Word for Windows

(Special note: 16-bit programs such as WinWord 2 or 6 may have difficulty opening an .mdb file stored in a directory name containing a space such as "C:\My Documents".)

Using WinWord 6 or later, data merges with Access are unbelievably easy.

  1. From the Tools menu in Word, select Mail Merge.
  2. Choose Create, Form Letters, Active Window.
  3. Choose Get Data, Open Data Source, and select your MDB file.
  4. Select the Access table or query that contains the data to be merged.
  5. Type your form letter, using the Insert Merge Field button on the toolbar wherever you want merge data to appear.

For users of WinWord 2, life is a little more complex. There are several methods, but this one allows you to use Access queries to sort and select records for merging.

  1. In Word 2, create a new document based on the DATAFILE template that ships with Word.
  2. Start a copy of Access, and in the database container, select the name of the table or query that is to supply the data.
  3. From the Edit menu in Access, choose Copy. This places a reference to the data into the clipboard.
  4. With Access still running, switch back to Word 2.
  5. Under Tools menu, click:
    • Database Management Tools,
    • Link to Ext. Database,
    • Create Link from Clipboard,
    • Paste Link.
  6. When the data has been pasted, save this as your data document, and proceed as you normally would with merging two Word documents.

Unlike later versions of Word, if you later add or edit records in Access, you need to specifically inform Word 2 about it. With your data document active in Word 2, go to the Tools menu and click:

  1. Database Management Tools,
  2. Link to Ext. Database,
  3. Update Links.



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 'Mail Merge with Word for Windows'?

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