P
pepper
Hi, I'm fairly new to access and I'm just trying to address an envelope.
I'm trying to do a query where if the 'Street Number' or 'Street Direction'
are null, there won't be a space in front of the 'Street Name'. This is
because I put the addresses with PO Boxes in the 'Street Name' column.
This is what I have so far...
fHomeAddress: IIf(IsNull([fHomeStreet#]),"",[fHomeStreet#]) &
IIf(IsNull([fHomeStreetDirection]),""," " & [fHomeStreetDirection]) & " " &
[fHomeStreetName] & " " & [fHomeApartment#]
This phrase leaves a space in front of the street name when the street name
is a PO Box as I'm sure you all know. Can someone help me eliminate the
space in those cases.
Thanks very much,
Pepper
I'm trying to do a query where if the 'Street Number' or 'Street Direction'
are null, there won't be a space in front of the 'Street Name'. This is
because I put the addresses with PO Boxes in the 'Street Name' column.
This is what I have so far...
fHomeAddress: IIf(IsNull([fHomeStreet#]),"",[fHomeStreet#]) &
IIf(IsNull([fHomeStreetDirection]),""," " & [fHomeStreetDirection]) & " " &
[fHomeStreetName] & " " & [fHomeApartment#]
This phrase leaves a space in front of the street name when the street name
is a PO Box as I'm sure you all know. Can someone help me eliminate the
space in those cases.
Thanks very much,
Pepper