hmm..
it works in Access2002/2003...
and (the fatal words).. I assumed...
would work in SQL server.
cant test in sql server and need to reinstall MSDE :)
but replace IS listed in TSQL reference.
MSQUERY from Excel doesn't accept the replace function,
and cant get it to work with ADO either...
So we've got multiple problems here..
brackets vs backquotes
SELECT Replace([Table1]![textwrapped],Chr(13),"") AS Expr1
FROM Table1;
SELECT Replace(`Table1`!`textwrapped`,Chr(13),"") AS Expr1
FROM Table1;
SELECT Replace(Table1!textwrapped,Chr(13),"") AS Expr1
FROM Table1;
Apparently there's some controversy on the replace function
could a combination of STUFF and INSTR be made to work?
Jamie can you help here.. ?
I think you know more about sql than I do :)
keepITcool
< email : keepitcool chello nl (with @ and .)
< homepage:
http://members.chello.nl/keepitcool
(Jamie Collins) wrote:
keepITcool wrote ...
"Karthikeyan" wrote:
I have data in SQL server
you could use Replace function in your query:
SELECT Replace([Table1]![textwrapped],Chr(10),"") AS ExcelWrapped
FROM Table1;
I tried this and got an error, Incorrect syntax near '!'.
Jamie.
--