D
dbnDavid
I want to stack four mailing address lines into a single text box for a report.
I've managed to build an expression to concatenate the four text strings
with line breaks, like this:
[Subclients]![Address1] & Chr(13) & Chr(10) & [Subclients]![Address2] &
Chr(13) & Chr(10) & [Subclients]![Address3] & Chr(13) & Chr(10) &
[Subclients]![Country] ... etc.
but I don't know how to force the stack to close up when one of the strings
is empty - e.g some addresses don't require all three lines before "Country"
but I don't want the address to display with a gap.
I've managed to build an expression to concatenate the four text strings
with line breaks, like this:
[Subclients]![Address1] & Chr(13) & Chr(10) & [Subclients]![Address2] &
Chr(13) & Chr(10) & [Subclients]![Address3] & Chr(13) & Chr(10) &
[Subclients]![Country] ... etc.
but I don't know how to force the stack to close up when one of the strings
is empty - e.g some addresses don't require all three lines before "Country"
but I don't want the address to display with a gap.