View Single Post
  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default How skip blank field

Is the address data definitely completely blank?

What field codes are you using?

Generally speaking, if Word won't blank your lines for you, you have to use
an IF field to do it forr you, e.g.

{ IF "{ MERGEFIELD myfielda }" = "" "" "
{ MERGEFIELD myfielda }"
}{ IF "{ MERGEFIELD myfieldb }" = "" "" "
{ MERGEFIELD myfieldb }" }

and so on...

All the {} need to be the special field codes that you can insert using
ctrl-F9.

Peter Jamieson

"Cowtoon" wrote in message
...
I take it back ... it's not working. boooooooooo!

"Cowtoon" wrote in message
...
I have a bit of data in one of my fields that is blank. It's for an
address
and it gives me an empty line when I merge. Is there a way to skip the
blank field so that I don't have to go back to the merge to remove the
blank
line.

There used to be a setting for this, but I can no longer find where that
option is located (assuming it's still an option).
Thanks.