Hi agian,
The alternative to my last post is to concatonate the three address lines thus.
- =[Add1] & IIf(Not IsNull([Add2]),Chr(13) & Chr(10) & [Add2],"") & IIf(Not IsNull([Add3]),Chr(13) & Chr(10) & [Add3],"")
I had trouble making this work the other night because I had Chr(10) & Chr(13) the wrong way round, silly me!
These represent Carriage Return and Line Feed, so the next non null field is placed on the next line.
The control into which this is placed as the source code must have Can Grow set to Yes, so it can grow to the required height when three lines are present.
The name of the control cannot be the same as any of the fields it contains e.g. [Add1], [Add2] or [Add3], but calling it txtAdd1 is ok.
S7