Suppress Blank Field in Word Merge

D

DP

I have an 8 up word document that has variable address
information on both sides.

I have been instructed to create a SET for the first side
& then a REF for the second side. When I do this it
doesn't float out the blank fields.

Any suggestions?
 
P

Peter Jamieson

Are you doing something like

{ SET A1 { ADDRESSBLOCK } }

or using individual fields

{ SET S11 { MERGEFIELD street1 }
}{ SET S12 { MERGEFIELD street2 }
}{ SET C1 { MERGEFIELD city }
}

etc.?

I haven't checked, but if you are using the former approach and it doesn't
work, you are unlikely to be able to do anything about it except use the
latter approach. If you use the latter approach, you will probably have to
deal with empty REF fields yourself, e.g. (assuming you always have
something in S11 but not necessarily in S12)

{ REF S1 }
{ IF { REF S2 } = "" "" "{ REF S2 }
" }{ REF C1 }

i.e. there needs to be a new paragraph just before that last double quote.
 

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