W
Wabiloo
I need to connect (via ODBC) to a MS Access DB (.mdb file) and run a
query that makes use of stored queries and functions in an embedded
VBA module.
Whenever I try that, I get an error message saying "undefine function
xxx in expression", where xxx is one of the functions I wrote in that
module, and is either directly in the SQL query I send, or used in the
query stored in the DB.
ODBC is supposed to allow for pass-through queries, and this is widely
used when connecting FROM access TO a different DB. However, no
matter where I looked (properties of the DSN, ODBC driver options,
etc.) I cannot find any way to specify that I want to send a pass-
through query TO access FROM another application.
Am I missing something obvious, or is that some sort of limitation of
the Access ODBC driver?
If so, is there another driver I could use that would offer me that
facility?
Many thanks
query that makes use of stored queries and functions in an embedded
VBA module.
Whenever I try that, I get an error message saying "undefine function
xxx in expression", where xxx is one of the functions I wrote in that
module, and is either directly in the SQL query I send, or used in the
query stored in the DB.
ODBC is supposed to allow for pass-through queries, and this is widely
used when connecting FROM access TO a different DB. However, no
matter where I looked (properties of the DSN, ODBC driver options,
etc.) I cannot find any way to specify that I want to send a pass-
through query TO access FROM another application.
Am I missing something obvious, or is that some sort of limitation of
the Access ODBC driver?
If so, is there another driver I could use that would offer me that
facility?
Many thanks