Hi,
I'm trying to concatenate address fields and insert a LF&CR after each line.
The SQL I use is based on
select
address1 & chr(10) & chr(13)&
address2 & chr(10) & chr(13)&
address3 & chr(10) & chr(13)&
address4 & chr(10) & chr(13)&
address5 & chr(10) & chr(13) &
postcode as Address
from addresses
However, although this works for some records, it doesn't for all of them!
Also on some records, only some of the newlines work, so I get results like:
1 A. Drive Someplace Somewhere
Somecounty
Somepostcode
(where I would like the first line split into 3)
It really does seem to work completely randomly!
Please help,
Chris