Reply
 
Thread Tools Display Modes
  #1   Report Post  
Geoff Holt
 
Posts: n/a
Default suppressing blank address lines in mail merge

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?
  #2   Report Post  
Peter Jamieson
 
Posts: n/a
Default

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
"Geoff Holt" Geoff wrote in message
...
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?



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Empty Mail Merge Fields Meggan Microsoft Word Help 1 January 13th 05 05:22 AM
Empty Mail Merge Fields Meggan Microsoft Word Help 0 January 13th 05 12:43 AM
can data fields be added to an exisiting mail merge address list missode Microsoft Word Help 1 December 19th 04 11:29 PM
How to omit blank lines in mail merge SandieBch Microsoft Word Help 2 December 16th 04 08:05 AM
Correct address in mail merge MKings Microsoft Word Help 1 December 10th 04 05:49 PM


All times are GMT +1. The time now is 12:56 PM.

Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"