I am trying to create address information of a form and I am using the data from the folowing fields:
Address_1
Address_2
City
State
Zip
If there are morre than 2 characters in Address_2 field then I want to carriage return and place this information on the second line of the address.
Of course if there is no data in field Address_2 I do not want to leave a blank line in the address information.
At present time I am using the following expression but I am not getting proper carriage returns. Any suggestions?
=[Address_1] & Chr(10) & Chr(13)
IIF (LEN([Address_2])>2,[Address_2]) & Chr(10) & Chr(13) & [City] & " " & [State] & " " & [ZIP]
Address_1
Address_2
City
State
Zip
If there are morre than 2 characters in Address_2 field then I want to carriage return and place this information on the second line of the address.
Of course if there is no data in field Address_2 I do not want to leave a blank line in the address information.
At present time I am using the following expression but I am not getting proper carriage returns. Any suggestions?
=[Address_1] & Chr(10) & Chr(13)
IIF (LEN([Address_2])>2,[Address_2]) & Chr(10) & Chr(13) & [City] & " " & [State] & " " & [ZIP]