L
Luke M.
I'm having a problem with my database, which is set to use "SQL-Server
Compatible Syntax (Ansi-92)". My Ansi-92 queries work fine, until I do a data
import: either through "Get External Data" from the file menu, or if I choose
to do the import programmatically with VBA. After the import completes, any
queries I have which use 92 syntax, such as the '%' wildcard, no longer work.
If I change the wildcards to the Ansi-89 syntax of '*', they then work.
After the import, if I look in Tools-Options-Tables/Queries, my Ansi-SQL
query mode is still set to Ansi-92: so it doesn't change that setting.
However, the effect on the database is just as if it had.
I can have the queries work again if I close the database after the import,
and open it up again. At that point, all my queries which use Ansi-92
specific syntax work again, as they should, and if I were to use any 89
syntax, it doesn't work, as they shouldn't. That is, until the next data
import, at which time it all becomes switched around again.
This is a huge pain for me. Anyone else had the same problem, or know how to
correct it?
Compatible Syntax (Ansi-92)". My Ansi-92 queries work fine, until I do a data
import: either through "Get External Data" from the file menu, or if I choose
to do the import programmatically with VBA. After the import completes, any
queries I have which use 92 syntax, such as the '%' wildcard, no longer work.
If I change the wildcards to the Ansi-89 syntax of '*', they then work.
After the import, if I look in Tools-Options-Tables/Queries, my Ansi-SQL
query mode is still set to Ansi-92: so it doesn't change that setting.
However, the effect on the database is just as if it had.
I can have the queries work again if I close the database after the import,
and open it up again. At that point, all my queries which use Ansi-92
specific syntax work again, as they should, and if I were to use any 89
syntax, it doesn't work, as they shouldn't. That is, until the next data
import, at which time it all becomes switched around again.
This is a huge pain for me. Anyone else had the same problem, or know how to
correct it?