Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Nasty Cough Nasty Cough is offline
external usenet poster
 
Posts: 1
Default Putting data from two different MSQL tables on one Mail Merge docu

I have a ODBC connection established to a MYSQL database with two tables. By
moving between the tables I can insert merge fields from both on to my
document. (Although I seem to have to go back to "Select Recipients" to
change tables) However when I go to preview the document it appears able to
link to only one table source. Surely Mail Merge can cope with two data
sources from the same database?
If so, how's it done, please.
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Putting data from two different MSQL tables on one Mail Merge docu

Mail merge can only use a single flat data source. To merge with data from
two tables, you will need to use an SQL query to combine the data from the
two tables into such a data source.

--
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
"Nasty Cough" Nasty wrote in message
...
I have a ODBC connection established to a MYSQL database with two tables.
By
moving between the tables I can insert merge fields from both on to my
document. (Although I seem to have to go back to "Select Recipients" to
change tables) However when I go to preview the document it appears able
to
link to only one table source. Surely Mail Merge can cope with two data
sources from the same database?
If so, how's it done, please.


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Merge - multiple Access tables as data source Julia DB Mailmerge 1 April 8th 08 07:44 PM
mail merge data source shows 2 tables baileycat Mailmerge 2 January 31st 08 11:55 PM
word 2003 mail merge using foxpro 9 tables as a data source fails Daniel Williams Microsoft Word Help 16 January 31st 08 05:18 PM
putting tabs in a mail merge field? mike_mike Mailmerge 4 April 5th 06 12:51 PM
How to create a data file with addresses to merge form letter docu GTDriver Mailmerge 2 June 11th 05 04:00 AM


All times are GMT +1. The time now is 06:57 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"