Word MailMerge - repeat some fields if next row same Client

T

Turbo_Shark

I'm trying to mailmerge from Excel 2003 into Word 2003.

Each client could have 1 or more records.

I want one letter for each client, displaying each of the items and an
amount in a tabular format eg.

Mr X

Item No Amount
1 10.00
2 20.00

I have tried using {Next Record If} but am getting spurious results.
 
D

Doug Robbins - Word MVP

You are trying to perform a "multiple items per condition (=key field)"
mailmerge which Word does not really have the ability to do:

See the "Group Multiple items for a single condition" item on fellow MVP
Cindy Meister's website at

http://homepage.swissonline.ch/cindymeister/mergfaq1.htm#DBPic


Or take a look at the following Knowledge Base Article

http://support.microsoft.com/default.aspx?scid=kb;en-us;211303


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




--
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
 
T

Turbo_Shark

Doug Robbins - Word MVP said:
You are trying to perform a "multiple items per condition (=key field)"
mailmerge which Word does not really have the ability to do:

See the "Group Multiple items for a single condition" item on fellow MVP
Cindy Meister's website at

http://homepage.swissonline.ch/cindymeister/mergfaq1.htm#DBPic


Or take a look at the following Knowledge Base Article

http://support.microsoft.com/default.aspx?scid=kb;en-us;211303


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




--
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

Turbo_Shark said:
I'm trying to mailmerge from Excel 2003 into Word 2003.

Each client could have 1 or more records.

I want one letter for each client, displaying each of the items and an
amount in a tabular format eg.

Mr X

Item No Amount
1 10.00
2 20.00

I have tried using {Next Record If} but am getting spurious results.


Thanks Doug - I don't think this warrants the pain of working out the If statements. Going to cross tab the source data then have [Item1], [Amt1], [Item2] [Amt2] etc... Think they only have max 4 rows so easier to suppress blank fields. As a database developer it is quite frustrating to find that Word does not support this type of functionality.
 
D

Doug Robbins - Word MVP

As a database developer, I would use a report to produce the result.

--
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

Turbo_Shark said:
Doug Robbins - Word MVP said:
You are trying to perform a "multiple items per condition (=key field)"
mailmerge which Word does not really have the ability to do:

See the "Group Multiple items for a single condition" item on fellow MVP
Cindy Meister's website at

http://homepage.swissonline.ch/cindymeister/mergfaq1.htm#DBPic


Or take a look at the following Knowledge Base Article

http://support.microsoft.com/default.aspx?scid=kb;en-us;211303


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




--
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

Turbo_Shark said:
I'm trying to mailmerge from Excel 2003 into Word 2003.

Each client could have 1 or more records.

I want one letter for each client, displaying each of the items and an
amount in a tabular format eg.

Mr X

Item No Amount
1 10.00
2 20.00

I have tried using {Next Record If} but am getting spurious results.


Thanks Doug - I don't think this warrants the pain of working out the If
statements. Going to cross tab the source data then have [Item1], [Amt1],
[Item2] [Amt2] etc... Think they only have max 4 rows so easier to
suppress blank fields. As a database developer it is quite frustrating to
find that Word does not support this type of functionality.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top