Suppress blank line in mail merge
Hello,
I am using a Directory in Word to generate a document. I am trying to remove the line break if the Address_1 field is empty. I tried using the switch \b but it's not working. Here is the code I used:
{QUOTE{IF{MERGESEQ}=1 {SET Key ""}}"{IF{MERGEFIELD Organization}
<>{REF Key \*MERGEFORMAT} "{IF{MERGESEQ}>1 ""}{QUOTE 12}
{MERGEFIELD Organization}
{MERGEFIELD Name \*MERGEFORMAT}{SET Key{MERGEFIELD Organization}}"
{MERGEFIELD Name}}
{MERGEFIELD Title}
{Address_1 \b}
{Address_2}
{City}, {Province} {Postal_Code}"}
Any help is greatly appreciated!
Thank you,
Bernie
|