View Single Post
  #3   Report Post  
Graham Mayor
 
Posts: n/a
Default How do I use word field when field is sometimes blank?

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
Word MVP web site http://word.mvps.org



CJW wrote:
I am doing merge letters and need to know what I do when one of the
fields is sometimes null.