Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
 
Posts: n/a
Default List records from the many side of a one-to-many

I am trying to perform a mail merge in MS Word using data from an
Access query.

The query brings together 2 tables (tblCustomers and tblOrders) in a
one-to-many relationship. For example, John Smith has 2 orders, Mary Jo
has 3 orders, etc. I would like to create letters for these people
like:

###

Dear Mr. Smith:

According to my records, you have the following orders:

2/3/05 Car parts
4/5/05 Audio parts

Sincerely,

Me

###.

.... and so on for each customer.

Can MS Word's mail merge feature reproduce something like this? If so,
how?

Thank you.

Kurt

  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson
 
Posts: n/a
Default List records from the many side of a one-to-many

Word isn't very good at this kind of thing. You may be able to use one of
the approaches described on Cindy Meister's pages at

http://homepage.swissonline.ch/cindymeister/

- see Mailmerge FAQ, Special Merges, Multiple Items per condition.

If possible use an Access report.

Peter Jamieson

wrote in message
ups.com...
I am trying to perform a mail merge in MS Word using data from an
Access query.

The query brings together 2 tables (tblCustomers and tblOrders) in a
one-to-many relationship. For example, John Smith has 2 orders, Mary Jo
has 3 orders, etc. I would like to create letters for these people
like:

###

Dear Mr. Smith:

According to my records, you have the following orders:

2/3/05 Car parts
4/5/05 Audio parts

Sincerely,

Me

###.

... and so on for each customer.

Can MS Word's mail merge feature reproduce something like this? If so,
how?

Thank you.

Kurt



  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
 
Posts: n/a
Default List records from the many side of a one-to-many

Cindy Meister's page had some good options, including a function to
concatenate the child records into a string. But then I found a
function from Duane Hookom's Library which is much simpler and
straightforward. For those interested:

Generic Function To Concatenate Child Records

http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='Generic%20Function%2 0To%20Concatenate%20Child%20Records'

  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson
 
Posts: n/a
Default List records from the many side of a one-to-many

OK, thanks for the feedback.

Peter Jamieson

wrote in message
oups.com...
Cindy Meister's page had some good options, including a function to
concatenate the child records into a string. But then I found a
function from Duane Hookom's Library which is much simpler and
straightforward. For those interested:

Generic Function To Concatenate Child Records

http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='Generic%20Function%2 0To%20Concatenate%20Child%20Records'



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
Need a template with a permanent list along left side of page Sandra Grawunder Page Layout 7 November 14th 08 08:03 PM
Mail Merge does not include all records from list or Access table Paul Fahey Mailmerge 0 March 27th 06 12:08 AM
Mail Merge does not include all records from list or Access table Doug Robbins - Word MVP Mailmerge 0 March 26th 06 11:54 PM
how display list of files in two folders side by side ISkee Microsoft Word Help 5 September 16th 05 02:13 AM
List View with multiple records thespursfan Mailmerge 1 June 9th 05 08:54 PM


All times are GMT +1. The time now is 08:09 PM.

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"