Remove Blank Lines
Posted: Tue Sep 25, 2007 4:36 pm
I am wanting to remove blank lines from a text field.
I have the expression set to:
If {PurchaseOrder.Addr_Address2} contains a null or empty string I don't want there to be a blank line between {PurchaseOrder.Addr_Address1} and {PurchaseOrder.Addr_Address3}.
So instead of it displaying the data like this (if there is nothing for the Address2 field):
I want it to look like...
Any ideas on how I can achieve this?
Thanks.
I have the expression set to:
Code: Select all
{PurchaseOrder.Comp_Name}
{PurchaseOrder.Addr_Address1}
{PurchaseOrder.Addr_Address2}
{PurchaseOrder.Addr_Address3}
So instead of it displaying the data like this (if there is nothing for the Address2 field):
Code: Select all
My Company Name
My Address 1 Text
My Address 3 Text
Code: Select all
My Company Name
My Address 1 Text
My Address 3 Text
Thanks.