Error Message

E

Erika

Any ideas what the following message means:

MS Office Access Database or project contains a missing or broken reference
to the file 'dao2535.tlb' version 3.5
 
S

SusanV

Open the visual basic editor, under the Tools menu, select References. You
should see an entry marked MISSING - select that reference (check the box).
If none are marked missing, scroll down through the list until you find
Microsoft DAO 3.5 Object Library and select that.

Recompile and you should be all set.
 
E

Erika

I did as suggested, I went to visual basic and references. There were more
selected that just the one discussed in the original message. Then I
compiled via "Debug > Compile".

Now I am getting an error that reads:

Compile Error: Can't find project or library
 
S

SusanV

Did you unselect anything? You shouldn't have...

Erika said:
I did as suggested, I went to visual basic and references. There were
more
selected that just the one discussed in the original message. Then I
compiled via "Debug > Compile".

Now I am getting an error that reads:

Compile Error: Can't find project or library
 
E

Erika

No, I left all the items selected. When I opened up the window, they were
selected by default, so I ran with it that way.
 
S

SusanV

Was something marked missing?
Erika said:
No, I left all the items selected. When I opened up the window, they were
selected by default, so I ran with it that way.
 
E

Erika

Yes I had one marked Missing, it said

Missing: DOA 2.5/3.5 Comp

I selected it, clicked ok
 
D

Douglas J. Steele

Error$ is the deprecated way of referring to Err.Description.

The Err object comes from the VBA library. However, since VBA is the last
library Access checks from the list of References, it's rare that there's a
problem with the VBA reference. Correct any problems with the References
collection, and that error should go away.
 

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