I have a task of connecting to several hundreds of MSAccess 97 databases and I tried following the tip from Hal Hayes article: http://www.mssqltips.com/tip.asp?tip=1437 However, on SQL Server 2008 I get a msg that I cannot pass an object as a variable.