E
epete367
I am using the following:
=([ShippingName]+Chr(13)+Chr(10)) & ([CompanyName]+Chr(13)+Chr(10)) &
([ShippingAddress1]+Chr(13)+Chr(10)) &
([ShippingAddress2]+Chr(13)+Chr(10)) & [ShippingCity] & "," & " " &
[ShippingState] & " " & " " &
IIf(Len([ShippingPostalCode])>6,[ShippingPostalCode],Left([ShippingPostalCode],5))
for a shipping address. The problem is if the fields are blank I still
end up with a comma (,) showing.
At times shipping address is blank if it is the same as mailing
address. How can I hide the unnecessary comma?
Thank you!
=([ShippingName]+Chr(13)+Chr(10)) & ([CompanyName]+Chr(13)+Chr(10)) &
([ShippingAddress1]+Chr(13)+Chr(10)) &
([ShippingAddress2]+Chr(13)+Chr(10)) & [ShippingCity] & "," & " " &
[ShippingState] & " " & " " &
IIf(Len([ShippingPostalCode])>6,[ShippingPostalCode],Left([ShippingPostalCode],5))
for a shipping address. The problem is if the fields are blank I still
end up with a comma (,) showing.
At times shipping address is blank if it is the same as mailing
address. How can I hide the unnecessary comma?
Thank you!