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 / April 2006

Tip: Looking for answers? Try searching our database.

How do I use two data sources in same document for mail merge?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
J. Webb - 20 Apr 2006 15:34 GMT
Is it possible to link two access databases to a single Word document for the
mail merge function? The way the data is set up, the 1st access db pulls the
project leads. The 2nd access db would be a query on the 1st db results and
list all the programmers assigned to each project. I only want the e-mail to
go to the project lead and not the programmer.

Also - if there is an easier way to do this, I would appreciate any
suggestions. This process needs to be as repeatable, efficient and simple as
possible.

Thank you! Jennifer
Peter Jamieson - 20 Apr 2006 15:58 GMT
Word isn't really designed to do this, but with some limitations you can do
it by setting up the 1st access table/query as the mail merge data source,
and using a DATABASE field to get the list of programmers.  You have to edit
the SQL in the DATABASE so that it has a WHERE clause that restricts the
records returnd to the current project, e.g. if the project lead has a
column called ProjectID which is used as a foreigh key in the programmer
list, you might have a WHERE claues such as

WHERE `ProjectID` = '{ MERGEFIELD ProjectID }'

There's an example at

http://www.knowhow.com/Guides/CompoundMerges/CompoundMerge.htm

Peter Jamieson
> Is it possible to link two access databases to a single Word document for
> the
[quoted text clipped - 12 lines]
>
> Thank you! Jennifer
J. Webb - 20 Apr 2006 18:23 GMT
Hi Peter - Thank you for your reply. We will try this method and if we have
any additional problems, I'll send another post tomorrow. Thank you again!
Jennifer.

> Word isn't really designed to do this, but with some limitations you can do
> it by setting up the 1st access table/query as the mail merge data source,
[quoted text clipped - 27 lines]
> >
> > Thank you! Jennifer
 
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.