Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / March 2005

Tip: Looking for answers? Try searching our database.

Skiping Repeating merge fields

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CharlieR - 31 Mar 2005 14:51 GMT
I am trying to create a formated word section using mail merge. I have 3
fields that im importing  (Paragraph ID, Requirement ID, Text) I do not want
to repeat the Paragraph ID if it is the same as the previous Paragraph Id. I
have seen it done a couple years ago but im unable to figure it out from the
help files. I would extremly thankful for some help or a point to a good ref.
Peter Jamieson - 31 Mar 2005 15:34 GMT
Try putting something like this at the beginning of your mail merge main
document:

{ IF { MERGESEQ } = 1 "{ SET LPID "" }" }

Then, where you want to display ParagraphID when it changes, use

{ IF "{ MERGESEQ "Paragraph ID" }" = "{ REF LPID }" "" "{ MERGESEQ
"Paragraph ID" } }

Then, after any further use of Paragraph ID (i.e. probably at the end of the
document), put

{ SET LPID "{ MERGEFIELD "Paragraph ID" }" }

Peter Jamieson

>I am trying to create a formated word section using mail merge. I have 3
> fields that im importing  (Paragraph ID, Requirement ID, Text) I do not
[quoted text clipped - 5 lines]
> help files. I would extremly thankful for some help or a point to a good
> ref.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.