MrBuckingham
New Member
- Joined
- Jun 28, 2007
- Messages
- 4
Hi,
I have a table which holds separate fields for address data, eg:
SURNAME....HOUSENSTREET....AREA.....TOWN......POSTCODE
Smith.........23 High Street......Soho......London....W1D 4DJ
I need to concatenate this data, separated by commas. This I can do with expression builder:
ONEVAR: [SURNAME] & ", " & [HOUSENSTREET] & ", " & [AREA] & ", " & [TOWN] & " " & [POSTCODE]
Unfortunately, the 'AREA' field is sometimes empty - and in that case, my 'onevar' would include 2 consecutive commas. Is there any way I can change my expression to only include the AREA if it's something other than empty?
Many thanks
Darren
I have a table which holds separate fields for address data, eg:
SURNAME....HOUSENSTREET....AREA.....TOWN......POSTCODE
Smith.........23 High Street......Soho......London....W1D 4DJ
I need to concatenate this data, separated by commas. This I can do with expression builder:
ONEVAR: [SURNAME] & ", " & [HOUSENSTREET] & ", " & [AREA] & ", " & [TOWN] & " " & [POSTCODE]
Unfortunately, the 'AREA' field is sometimes empty - and in that case, my 'onevar' would include 2 consecutive commas. Is there any way I can change my expression to only include the AREA if it's something other than empty?
Many thanks
Darren
Last edited: