A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Merging from multiple data files



 
 
Thread Tools Display Modes
  #1  
Old March 21st, 2010, 08:12 PM posted to microsoft.public.word.mailmerge.fields
Michael[_49_]
external usenet poster
 
Posts: 2
Default Merging from multiple data files

I'm fairly new to Word 2007 but what I would like to do is this:

Set up up a merge so that I first merge data from one data file, then
switch to a second & merge its data and then to a third & merge its data.

Is this possible or will I have to perform three separate merges into
three word files and then combine them.

TIA

Michael
  #2  
Old March 21st, 2010, 09:13 PM posted to microsoft.public.word.mailmerge.fields
Peter Jamieson
external usenet poster
 
Posts: 4,550
Default Merging from multiple data files

Is this possible

The facility is not available "out of the box", so...

or will I have to perform three separate merges into
three word files and then combine them.


....yes, you probably will. The obvious alternative is to combine the
three data sources into a single data source that you then use as your
merge data source, but
a. precisely how you might do that would depend on what your data
sources were (e.g., in some cases, you might be able to use Word VBA's
OpenDataSource command to issue some SQL that would do a UNION of your
data sources or some such) and
b. 3 merges that work, plus a combining step, is likely to be more
reliable than an attempt to combine your 3 data sources using the
facilities available to Word.

Peter Jamieson

http://tips.pjmsn.me.uk

On 21/03/2010 19:12, Michael wrote:
I'm fairly new to Word 2007 but what I would like to do is this:

Set up up a merge so that I first merge data from one data file, then
switch to a second & merge its data and then to a third & merge its data.

Is this possible or will I have to perform three separate merges into
three word files and then combine them.

TIA

Michael

  #3  
Old March 21st, 2010, 09:52 PM posted to microsoft.public.word.mailmerge.fields
Michael[_49_]
external usenet poster
 
Posts: 2
Default Merging from multiple data files

Many thanks Peter.
Michael


On 21/03/2010 20:13, Peter Jamieson wrote:
Is this possible


The facility is not available "out of the box", so...

or will I have to perform three separate merges into
three word files and then combine them.


...yes, you probably will. The obvious alternative is to combine the
three data sources into a single data source that you then use as your
merge data source, but
a. precisely how you might do that would depend on what your data
sources were (e.g., in some cases, you might be able to use Word VBA's
OpenDataSource command to issue some SQL that would do a UNION of your
data sources or some such) and
b. 3 merges that work, plus a combining step, is likely to be more
reliable than an attempt to combine your 3 data sources using the
facilities available to Word.

Peter Jamieson

http://tips.pjmsn.me.uk

On 21/03/2010 19:12, Michael wrote:
I'm fairly new to Word 2007 but what I would like to do is this:

Set up up a merge so that I first merge data from one data file, then
switch to a second & merge its data and then to a third & merge its data.

Is this possible or will I have to perform three separate merges into
three word files and then combine them.

TIA

Michael

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:43 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.