Mail Merge Suppress Blank Lines

C

Craig

I am using the following formula



{ MERGEFIELD FirstName \f " "}{ MERGEFIELD MiddleName \f " "}{ MERGEFIELD
LastName}



{ If { MERGEFIELD Type} = "w" "{ MERGEFIELD Title}"

{ If { MERGEFIELD Type} = "w" "{ MERGEFIELD Organization}"

{ MERGEFIELD City \f " "}{ MERGEFIELD State \f " "}{ MERGEFIELD Zip}



"w" being if the address is a work address rather than a home address.



I get the following result



John Doe





120 Somewhere Pl

Washington DC 20202-0202



How do i suppress the blank lines?



Thanks

Craig
 
A

AKM

Craig said:
I am using the following formula



{ MERGEFIELD FirstName \f " "}{ MERGEFIELD MiddleName \f " "}{ MERGEFIELD
LastName}



{ If { MERGEFIELD Type} = "w" "{ MERGEFIELD Title}"

{ If { MERGEFIELD Type} = "w" "{ MERGEFIELD Organization}"

{ MERGEFIELD City \f " "}{ MERGEFIELD State \f " "}{ MERGEFIELD Zip}



How do i suppress the blank lines?

Show hidden characters; do you see the unwanted carriage returns in your
code? They need to be conditional too.
 

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

Top