next record if id is the same as the last value

A

a

Hello,
i've tried searching previous threads but havn't found the answer yet.
we are mail merging a document in word 2003, at the top of the document we
have the address details (invoice header).
Then we have a table where we wish to show the invoice lines relating to
this particular invoice.
how can we do a "next record if "where it looks at the current ID value in
the mail merge( we are merging from an excel doc) to see if it is the same
as the preview ID value.

At present if an invoice has 5 lines then 5 seperate pages are being printed
out.

Please help!!!!

Thanks
 
D

Doug Robbins - Word MVP

You are trying to perform a "multiple items per condition (=key field)"
mailmerge, which requires a bit more than a straightfoward Word Mailmerge.

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
 

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

Top