Microsoft Access 10.0 Object Library

D

DS

I have 10.0 I need to have 11.0 Object Library in References in VB. How
do I do this?
Thanks
DS
 
A

Allen Browne

Create a new (blank) database, using Access 2003.
Set the libraries you want:
Tools | References (in the code window.)

Then import everything from the old database:
File | Get External | Import

If everything worked as it should, Access would set the correct library for
you when you open an MDB. If you open in Access 2002, it uses the Access 10
library, and if you open the same MDB in Access 2003, it uses the 11 library
automatically. Most of the time, that works perfectly.

But it is possible for Access to get confused if you have multiple versions
installed on your computer and open at the time when you create a new MDB.
My guess is that this occurs because of the weak linking between the Access
and VBA windows, i.e. Access gets confused since both versions are open at
once. When this occurs, the simplest solution is to dump this confused MDB,
create another one, and import the objects.
 

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