Agree with Ken for simplicity .. do it in the source if it is based on a query.
I did a test, too, apologies - I was wrong, it has been awhile since I prettied reports. What goes in the brackets is the name of the control on the report. So you line would look like:
If you don't change it in the source of the report or the source is a table, you can keep the distinct address and city fields in the detail section - just set their visibility to false. But the above expression will work - I just told you incorrectly.
It also seems that vbCrLf will cause a parameter prompt. Who knew? ;]. The above reference will place the correct line feed into the control.
-dK
I did a test, too, apologies - I was wrong, it has been awhile since I prettied reports. What goes in the brackets is the name of the control on the report. So you line would look like:
Code:
=[ControlNameofAddress] & Chr(13) & Chr(10) & [ControlNameofCity]
If you don't change it in the source of the report or the source is a table, you can keep the distinct address and city fields in the detail section - just set their visibility to false. But the above expression will work - I just told you incorrectly.
It also seems that vbCrLf will cause a parameter prompt. Who knew? ;]. The above reference will place the correct line feed into the control.
-dK