G
Guest
I have a QBE that is a make table query and it makes a
table in an external database. I want to be able to use a
parameter to supply the destination database name. I do
not want to use a sql string but rather want to use the
following code - DoCmd.OpenQuery "myQuery" - without
defining a QueryDEF or creating the query.
For some reason the query runs faster if I do not use a
QueryDEF or try to execute a SQL String. I have performed
multiple test and cannot figure out why (but that is
another issue).
Regards,
JohnV
table in an external database. I want to be able to use a
parameter to supply the destination database name. I do
not want to use a sql string but rather want to use the
following code - DoCmd.OpenQuery "myQuery" - without
defining a QueryDEF or creating the query.
For some reason the query runs faster if I do not use a
QueryDEF or try to execute a SQL String. I have performed
multiple test and cannot figure out why (but that is
another issue).
Regards,
JohnV