Hi
Following a recent post I have created a piece of code to put vbcrlf between various fields to create an address field in a report, however a line is created for each field whether blank or not. If I no not want to have the blank lines, is an IIf(IsNull() statement for each field the best way to achieve this.
Code is currently
Addressfield=[clientname] & vbcrlf & [address1] & vbcrlf & [address2]
and so on
Any help greatly appreciated
Thanks
Richard
Following a recent post I have created a piece of code to put vbcrlf between various fields to create an address field in a report, however a line is created for each field whether blank or not. If I no not want to have the blank lines, is an IIf(IsNull() statement for each field the best way to achieve this.
Code is currently
Addressfield=[clientname] & vbcrlf & [address1] & vbcrlf & [address2]
and so on
Any help greatly appreciated
Thanks
Richard