G Guest Dec 15, 2004 #1 How can you omit blank lines in a merged document (such as a mailing label) where the field has no data in the data source document?
How can you omit blank lines in a merged document (such as a mailing label) where the field has no data in the data source document?
G Greg Maxey Dec 15, 2004 #2 You do it with an IF field: {Mergefield Address1}{IF {Mergefield Address2} <> "" "{Mergefield Address2}"}{Mergefield Address3}Note: in the example above there is a line feed (Shift+Enter) following the third speech mark.
You do it with an IF field: {Mergefield Address1}{IF {Mergefield Address2} <> "" "{Mergefield Address2}"}{Mergefield Address3}Note: in the example above there is a line feed (Shift+Enter) following the third speech mark.
G Graham Mayor Dec 16, 2004 #3 Or even a paragraph (Enter) {Mergefield Address1}{IF {Mergefield Address2} <> "" " {Mergefield Address2}"}{Mergefield Address3} -- <>>< ><<> ><<> <>>< ><<> <>>< <>><<> Graham Mayor - Word MVP My web site www.gmayor.com <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Or even a paragraph (Enter) {Mergefield Address1}{IF {Mergefield Address2} <> "" " {Mergefield Address2}"}{Mergefield Address3} -- <>>< ><<> ><<> <>>< ><<> <>>< <>><<> Graham Mayor - Word MVP My web site www.gmayor.com <>>< ><<> ><<> <>>< ><<> <>>< <>><<>