dlookup an MS Access 2003 table record from within MS Word

Hi experts,

Please could somebody advise if I can have a word document in the same folder as an access 2003 database and display text in the word document from a field in a table within the access 2003 database? For example, maybe a DLookup or similar can be done in Word referencing the database table?

Regards

Terry
TerenceHewettAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TerenceHewettAuthor Commented:
From what I am reading on the web, it looks like a mail merge could do this for me, but I am not sure how to code this.  Could anybody either help with the mail merge code or provide other help on the original question?

Thanks

Terry
0
Nick67Commented:
There isn't really anything to code.
If you fire up Word Help and search mail merge, it will walk you through doing it.
I'll create a very small db and Word document and post them.
These things get VERY dependent on file location.
Put them both in a folder c:\tempMerge and play with them.
Test-Merge.doc
Merge-Data-Source.mdb
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TerenceHewettAuthor Commented:
Thanks Nick for your help.  The sample files really helped me understand.

Regards
Terry
0
Nick67Commented:
Not a problem.  Is there anything that needs clarifying?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Word

From novice to tech pro — start learning today.