Solved

Passing field data from Access to Word Bookmarks

Posted on 2008-10-22
3
239 Views
Last Modified: 2013-11-29
I have a query in Access that pulls the data fields I need in my Word document.  How do I pass that data from Access to the Word bookmarks i have set up?  EX:  Field [Employer Name] needs to populate the Word bookmark {Employer Name}.  Any help will be greatly appreciated.
0
Comment
Question by:cebaker75
3 Comments
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 125 total points
ID: 22778716
The simple way to do that is to use mail merge and Merge fields (not bookmarks). If you haven't tried that, you might like to know that there is a mail merge wizard which is started from the Word menu (Tools/Letters and Mailings/ Mail Merge...). You can also start it from Access (Tools/Office Links/MergeIt).

If you don't want to use the mail merge mechanism, you will have to use VBA and Office Automation. Have you used that before?

0
 
LVL 57

Assisted Solution

by:Jim Dettman (Microsoft MVP/ EE MVE)
Jim Dettman (Microsoft MVP/ EE MVE) earned 125 total points
ID: 22778725
cebaker,

  I've attached a sample database which has a complete Access to Word merge interface in it. Enjoy.

  Bounce back with any questions.

JimD.
mmA2002.zip
0
 

Author Closing Comment

by:cebaker75
ID: 31508834
Thanks to both GrahamSkin and JDettman.  The mail merge worked well.  And the sample provided helped.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Nice table. Huge mess. Maybe this was something you created way back before you figured out tabs or a document you received from someone else. Either way, using the spacebar to separate the columns resulted in a mess. Trying to convert text to t…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
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.

825 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