G
Guest
I am getting an error message when trying to create a SQL pass-through query
and a value has a " ' " in it. For example:
Select * from Northwind where Company="John's Tire Shop". I get an error
message of SQL thinking the "John's Tire Shop" is a column. I know that in
ODBC connections there is a check box that says to "USE ANSI Quoted
Identifers". I don't to uncheck that because it is standard for all of our
ODBC drivers not to have that unchecked. Is there a way to resolve this
problem in VBA code or a property in the SQL pass through query?
Thanks in advance,
John
and a value has a " ' " in it. For example:
Select * from Northwind where Company="John's Tire Shop". I get an error
message of SQL thinking the "John's Tire Shop" is a column. I know that in
ODBC connections there is a check box that says to "USE ANSI Quoted
Identifers". I don't to uncheck that because it is standard for all of our
ODBC drivers not to have that unchecked. Is there a way to resolve this
problem in VBA code or a property in the SQL pass through query?
Thanks in advance,
John