M
mark
Long story short...
I'm using ADO against text files on the network, and selecting certain stuff
through SQL, using the exmample I found from Ron de Bruin a while back.
( http://www.rondebruin.nl/ado.htm )
In the process of that, I've run into the inch sign, " , being in some of my
item numbers and descriptions, and it's causing trouble picking it up on the
Excel side.
So, I've stripped it out of the text files' input, and replaced it with
_THE_INCH_SIGN_ .
Now, in my SQL from VBA against the text files, I need to put it back. But,
when I try replace(), it tells me there's no replace function.
I've stripped it down to:
stSQLstring = "SELECT 'a' " & _
" , replace('abc','a','d') " & _
"FROM " & cnFileSummary & " excess "
and that's what it tells me:
"Undefined function 'replace' in expresson."
What is it called in SQL I can use from Excel??
Thanks.
I'm using ADO against text files on the network, and selecting certain stuff
through SQL, using the exmample I found from Ron de Bruin a while back.
( http://www.rondebruin.nl/ado.htm )
In the process of that, I've run into the inch sign, " , being in some of my
item numbers and descriptions, and it's causing trouble picking it up on the
Excel side.
So, I've stripped it out of the text files' input, and replaced it with
_THE_INCH_SIGN_ .
Now, in my SQL from VBA against the text files, I need to put it back. But,
when I try replace(), it tells me there's no replace function.
I've stripped it down to:
stSQLstring = "SELECT 'a' " & _
" , replace('abc','a','d') " & _
"FROM " & cnFileSummary & " excess "
and that's what it tells me:
"Undefined function 'replace' in expresson."
What is it called in SQL I can use from Excel??
Thanks.