Class Module Not Recognized

  • Thread starter Thread starter Bruce
  • Start date Start date
B

Bruce

Yesterday I created a class module (in Access 2000) and
used it in some code on a form.

It worked fine!

This morning, I came back into the office and opened the
form and I got a "User Defined Type Not Defined" error
message.

I opened the object browser for the database and the class
objects were listed.

Any ideas?

Thanks.

- Bruce
 
when you try and compile the code, it would have been nice to show the ONE
LINE of code that does not compile.

if the one line of code is:

dim db as database

Then you are missing a DAO 3.6 referance.

Check out:

Allen Browne
http://users.bigpond.net.au/abrowne1/ser-38.html

Doug Steele:
http://members.rogers.com/douglas.j.steele/AccessReferenceErrors.html

Peter Walker:
http://www.papwalker.com/dllhell/index-page2.html

MsKb Articles: 310803, 208218, 209849, 286300

ACC2000: How Access 2000 Resolves Visual Basic for Applications References
http://support.microsoft.com/default.aspx?scid=kb;en-us;248941

ACC2000: How to Resolve Reference Issues in an Access Database
http://support.microsoft.com/default.aspx?scid=kb;en-us;310803
 
Back
Top