Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Passing field data from Access to Word Bookmarks

Posted on 2008-10-22
3
Medium Priority
?
273 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 500 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 58

Assisted Solution

by:Jim Dettman (Microsoft MVP/ EE MVE)
Jim Dettman (Microsoft MVP/ EE MVE) earned 500 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

773 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