O
Owl
I want the comma to appear ONLY when there is an appartment address AND a
street address. I can't seem to get rid of the comma when there is only a
street address. I have tried to adapt what I have read on Discussions, but
have not been successful.
My code is the following:
Address: Trim(IIf(Len([BldgAddress] & "")=0,"",[BldgAddress] & ", " &
[StAddress]))
Record 1's BldgAddress is 1A Goble Mansions.
Record 1's StAddress is 45 Goble Road.
Record 2 doesn't have a BldgAddress.
Record 2's St Address is 53B Goble Road.
Record 3 doesn't have a BldgAddress.
Record 3's St Address is 83 Maple Road.
Thank you for any help.
street address. I can't seem to get rid of the comma when there is only a
street address. I have tried to adapt what I have read on Discussions, but
have not been successful.
My code is the following:
Address: Trim(IIf(Len([BldgAddress] & "")=0,"",[BldgAddress] & ", " &
[StAddress]))
Record 1's BldgAddress is 1A Goble Mansions.
Record 1's StAddress is 45 Goble Road.
Record 2 doesn't have a BldgAddress.
Record 2's St Address is 53B Goble Road.
Record 3 doesn't have a BldgAddress.
Record 3's St Address is 83 Maple Road.
Thank you for any help.