Pass Through Queries (Access 2002)

E

EAI Developer

Hi. Does anyone have an example of executing a stored procedure in VBA as a
pass through query?

I'm trying to send the query directly to SQL Server 2005 and bypass the Jet
database engine, as the Jet DB doesn't understand some of the SQL keywords
which T-SQL uses.

Thank you.
 
D

Douglas J. Steele

When the Connect field of the QueryDef object has been set, Jet shouldn't
even be looking at the SQL.

How are you trying to invoke the query: by clicking on it, or through code?
If through code, what's your code look like?
 

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.

Ask a Question

Top