Generate the SQL string in code, including the value in the variable,
using the rules for the server to which you want to pass the query.
Use the proper methods in DAO of ADO to pass the query.
Can I use a variable in the where clause of a pass through query?
Tom Ellison
Microsoft Access MVP
Ellison Enterprises - Your One Stop IT Experts
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.