Home Case Studies MS Office Tips and Tricks Sample Code Helpful Videos Custom Development  Custom Training Join Us Contact Us
Search Our Site:  

Mail Merge For Reports - The Document

Create a new standard document in Word. Go to Tools > Mail Merge…

Indicate that you’ll be creating Form Letters as shown below. We’re actually creating a report, but Word doesn’t need to know that.

After that, click on Get Data and Open Data Source… as shown below.



You’ll need to change the type of data source at the bottom of the window that appears to ‘MS Access databases’.



Once you’ve selected the filename, you should see this box.



Choose the query or table you want to use. In our case it’s Percent New Products.

You’ll now see a new toolbar at the top of the Word window. On it you’ll see Insert Merge Field. Begin to type your report, and when you’re ready to place data in your document, click on Insert Merge Field and choose the appropriate field. For instance, type “Sales Report for “, click Insert Merge Field and choose DateofData.



If you want to see how it will look in the final report, click on the <<< ABC >>> button which toggles between field name and field values. In the picture above it's greyed out but it's right next to Insert Word Field.

Now all you need to do is save your document. Your database is updated each month with sales data so all you need to do is open your document. It will automatically run the query and create a new report. The same is true for any set of changing data. Each time you open your report you’ll find updated data.

Even users unfamiliar with Access will be able to use up-to-date data in their reports and they’ll be able to take advantage of Word’s formatting and layout features.
 
Please share your comments on this article!

 
Name (opt)
Email Address (opt)
Your Questions/
Comments

I Get It! Development does not share your email address or other information, nor do we add you to any mailing lists unless you specifically request to be added by checking the box below.



SEE ALSO
You may also find the following articles useful:

Columns In Word

Pattern Matching

Word Styles (simple)

Word Styles

Tables vs Tabs in Word

Mail Merge Part 2

Word Styles

Format your hyperlinks to blend in with the text.

Buried Treasures In Word

Mail Merge Part 1

Compare Documents Even Without Track Changes

Word Hangs Because Of Default Printer

Different Page Layouts On Different Pages

Use Custom Spell Check Dictionaries

Reports Using Mail Merge (Part1)

References

Journal of Accountancy Articles

Tweaking The Numbers

Block That Spreadsheet Error

Excel Security Issues


 

Clients

Do you need help with Microsoft Office? Contact us

See how we've helped companies like yours develop effective business processes

Client Success Stories


 

Consultants

I Get It! Consultants set their own hours, work with their own clients, and choose their own projects.

If you're a Microsoft Office guru and would like to explore being a full-time consultant, please see our consultant information pages.