sweetkel23
Technical User
I'm trying to concatenate an address with trim. I need to determine whether or not ST_DIR1 and ST_SUFFIX exist. If they do not exist, then I want the ST_NAME1 and SUITE to display if any, else the entire address (concatenated with spaces in between and no leading or trailing spaces)
ConcAddr: [ST_DIR1] & Trim([ST_NAME1]) & " " & IIf(Nz([ST_SUFFIX],"")=""," " & [ST_SUFFIX] & " ") & [SUITE]
Example:
W Main Street #405
I appreciate your assistance.
ConcAddr: [ST_DIR1] & Trim([ST_NAME1]) & " " & IIf(Nz([ST_SUFFIX],"")=""," " & [ST_SUFFIX] & " ") & [SUITE]
Example:
W Main Street #405
I appreciate your assistance.