407-248-1481

QuoteWerks Knowledgebase Topic (Article ID 6507)

Print Layouts - Suppressing the Country Name

This information applies to :

Article ID
6507

Created/Updated
April 23, 2020

Category
Print Layouts


Are you using the most current release of QuoteWerks?
Version 24.0 Build 2
Issue:
I do not wish to display the country name in my print layout and I can't find a way to suppress it.


Cause:
The &SoldToFullAddress, &ShipToFullAddress, and &BillToFullAddress macro fields assumes that a country will be included and cannot be suppressed

Solution:
You can use the following formula in place of the &SoldToFullAddress, &ShipToFullAddress, or &BillToFullAddress macro fields. You will need to modify the formula according to the corresponding field:

(TIP: You can copy an paste, just make sure there are no extra spaces, other than what is supposed to be there.)

(DocumentHeaders->SoldToAddress1)+ ADDLINE(DocumentHeaders->SoldToAddress2)+ ADDLINE(DocumentHeaders->SoldToAddress3)+Addline(DocumentHeaders->SoldToCity+", "+(DocumentHeaders->SoldToState+" "+DocumentHeaders->SoldToPostalCode)

If you need additional help with the addline formula, please review Article: 5443

New Search