Compile error:

C

Carl Schuster

When i try to run a module with dim xxx as Database i get this error. What
can be the falt?
"User-defined type not defined"

Carl S.
 
M

Michel Walsh

Hi,


You are using Access 2000 and are missing a reference to "Microsoft DAO
3.6 Object Library", it is under Tools (from the VBE) | References... The
mentioned reference is NOT checked, by default, in Access 2000.


Hoping it may help,
Vanderghast, Access MVP
 

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

Similar Threads

Access ConcatRelated() Function Not Working 0
VBA CODE HELP! 0
Compile error.. 3
Dim objWord As Word.Application 1
Run-time Error '1004' 1
Compile Error 5
Type - End Type 2
Compile error? 5

Top