How do I use word field when field is sometimes blank?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am doing merge letters and need to know what I do when one of the fields is
sometimes null.
 
You don't normally need to do anything. By default, Word ignores empty
fields.
 
It is not usually the empty field that is the problem but the associated
spaces. You may need to place the field and its associated space or line
feed conditionally eg

{IF {Mergefield fieldname} <> "" "{Mergefield fieldname} "}
or
{IF {Mergefield fieldname} <> "" "{Mergefield fieldname}
"}


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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

Back
Top