data merge handling empty fields question

N

noahwallach

Currently I added the following fields in my word 2004 document

--- snip ---

«Contact_Name»
«Company_Name»
«Street_Addres»
«City» «State» «Zip»

--- snip ---

But I want to totally remove a blank line if «Contact_Name» is blank.
how would I designate the data merge procedure to handle this
automatically?

cheers,

Noah
 
N

Nello Lucchesi

Put «Contact_Name» and «Company_Name» on the same line. Wrap a IF
MERGEFIELD statement around «Company_Name» so that if
«Contact_Name» is not empty then you insert a new line between
«Contact_Name» and «Company_Name».
 

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