Make sure that "Microsoft DAO 3.51 Object Library" is one of the references selected. I think it is a file name dao350.dll which is usually found in c:\program files\common files\microsoft shared\dao.
RTR,<br>
<br>
Try looking at the RegisterDatabase method.<br>
<br>
I use something that looks like this in my autoexec code:<br>
<br>
DBEngine.RegisterDatabase "IRR", "SQL Server", True, "Database=IR" & vbCr & "Server=Eden"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.