Thanks for the feedback guys!
Doing the char(13) thing worked eg.
INSERT INTO Table1 (col1)
SELECT 'See Original Order comments below' + CHAR(13) + CHAR(10) + col1 AS col1
FROM Table1
WHERE col2 = something
Thanks Again, David.
I stand corrected!
I handnt actually tried that, I tried "select 'Line' + vbCRLF + 'wrap'" which is obviously not going to work.
I will test and confirm that "select 'Line' + CHAR(13) + CHAR(13) + 'wrap'" works as expected.
Thanks, David.
I have been using vbCRLF in the past and it does what I need.
The purpose of the query I am trying to create is to post my data in one hit without first having to retrieve the data then format it and post it back.
I believe I would experience the same problems with trying to use CHAR(13) +...
Hi,
I am trying to do a select into ie.
INSERT INTO TableA (col1, col2)
SELECT (col1, col2)
FROM TableA
WHERE col3 = ...
Now in part of my select statement I want to create a new string by selecting some existing data and building it up using the + operater but I also want to include vbCRLF...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.