Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / July 2004

Tip: Looking for answers? Try searching our database.

Access mail merge with two tables in database

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JennIL - 23 Jul 2004 21:52 GMT
Can you do a mail merge with two tables in an Access database?  I have tried getting two source data and it keeps giving me errors?  Is Word 2003 not able to process multiple data sources?
Peter Jamieson - 24 Jul 2004 09:26 GMT
You can only have one mailmerge data source per merge in Word. As far as
Word is concerned a data source is essentially a "flat file" with the same
fields in every record.

You can use an Access query as a data source, i.e. join data from several
different Access table. That still gives you a "flat file" data source but
that may be what you need.

If you need "parent/child" type output you either have to
a. put all your data into a single data source in a suitable sequence and
use { IF } and { NEXT } type fields to process them or
b. set up the "parent" table as the data source for the merge and use, e.g.
a { DATABASE } field to get the child data for each parent record, or use
Word Mailmerge events to grab the child data programmatically and insert it
or
c. "roll your own" merge, e.g. using VBA.

None of these is especially straightforward but for help on (a), see e.g.

http://support.microsoft.com/?kbid=211303

Signature

Peter Jamieson

> Can you do a mail merge with two tables in an Access database?  I have tried getting two source data and it keeps giving me errors?  Is Word 2003
not able to process multiple data sources?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.