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 / November 2004

Tip: Looking for answers? Try searching our database.

suppressing blank address lines in mail merge

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Geoff Holt - 26 Nov 2004 16:17 GMT
Source is SQL 2000 database where there are blank address lines before the
postcode.
Is there a method of skipping blank lines resulting from blank fields in the
Word document?
Peter Jamieson - 26 Nov 2004 19:16 GMT
By default, Word suppresses blank lines where
a. there is at least one MERGEFIELD field on the line
b. everything on the line evaluates to an empty string (i.e., there are no
spaces, tabs, etc.)

So I'd look for things that generate anything except an empty string...

However, in Word 2002/3, if the MERGEFIELDs are nested inside another field,
Word does not suppress blank lines and you will have to use IF fields to
suppress them.

Peter Jamieson
> Source is SQL 2000 database where there are blank address lines before the
> postcode.
> Is there a method of skipping blank lines resulting from blank fields in
> the
> Word document?
 
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.