View Single Post
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
a
 
Posts: n/a
Default next record if id is the same as the last value

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