How do I Insert fields from an Access Database into Word?

J

jclg

I am trying to have some fields from an Access DB inserted in specific places
in a WORD document. Example: I enter a customer code in an area, then that
code should be used to look up a record in an ACCESS DB, and insert a couple
of fields into a WORD Document.
 
D

Doug Robbins - Word MVP on news.microsoft.com

See the article "Access a database and insert into a Word document the data
that you find there" at:

http://www.word.mvps.org/FAQs/InterDev/GetDataFromDB.htm

But perhaps you should be using a userform with a listbox populated with the
data from the table in the database:

See the following pages of fellow MVP Greg Maxey's website :

http://gregmaxey.mvps.org/Create_and_employ_a_UserForm.htm

http://gregmaxey.mvps.org/Populate_UserForm_ListBox.htm



--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top