Pass Through Queries (Access 2002)

  • Thread starter Thread starter EAI Developer
  • Start date Start date
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.
 
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?
 
Back
Top