I don't have Office 2007 installed but here's a wild guess: did you create
dbTest using the standard JET workspace or an ODBCDirect workspace?
If you don't find the source of your problem, then maybe using an ordinary
querydef for running your passthrough queries might be the solution;
however, as you don't say nothing about the rest of your code or why you are
using the dbTest object, it's hard to tell you anything more about this.

Signature
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: sylvain aei ca (fill the blanks, no spam please)
>I have an Access 2003 mdb that I use to connect to a SQL 2005
> database. When I open the application in Access 2007 it errors on
[quoted text clipped - 23 lines]
>
> Any help or ideas would be greatly appreciated.
IRS Intern - 25 Jun 2007 02:06 GMT
uh.. DAO and Passthrus are obsolete
move to SQL Server and Access Data Projects, kids
> I don't have Office 2007 installed but here's a wild guess: did you create
> dbTest using the standard JET workspace or an ODBCDirect workspace?
[quoted text clipped - 38 lines]
>
> - Show quoted text -