suppressing blank address lines in mail merge

G

Geoff Holt

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?
 
P

Peter Jamieson

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
 

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