Space for Empty Fields

B

Brett Weiss

I am merging contact information into a label. There are fields for
FirstName1, LastName1, FirstName2, and LastName2. While there will always be
an entry in FirstName1 and LastName1, often there won't be in FirstName2 and
LastName 2.

I don't see how to use the If...Then function (or some other function) to
set up a merge so that if these fields are empty there won't be an empty
line for the label.

Could someone point me in the right direction?
 
G

Greg

Brett,

This is done with a conditional field with a line break
starting on the same line as the FirstName1 and LastName1
field. IF the condition is met, a line break is inserted
and the FirstName2 and LastName2 is applied on the next
line. IF not, nothing happens after LastName1.

{FirstName1}{LastName1}{IF {FirstName2} <> """ILBH
{FirstName2}{LastName2}"""}

ILBH was used for "Insert Line Break Here" meaning
Shift+Enter.
 

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