Request for Question Clarification by
mathtalk-ga
on
03 Nov 2003 16:19 PST
Hi, Brian:
The short answer is that there's a parameters collection associated
with a query object in Access, and you have to explicitly set the
values there before the query can be executed properly. Typically if
you don't set all the parameters in code, then when you "open" the
query, a popup will interactively prompt you for the missing values.
For the sake of a precise answer, please clarify what version of
Access you will be working with. Also, am I correct in assuming that
the code you mean is VBA code written within Access? It's possible,
of course, to automate Access and its query objects from another
Office product, or even from ASP or C++, but I'm thinking you would
have mentioned it if you intended something so complicated...
regards, mathtalk-ga