user-defined error

awake2424

Registered User.
Local time
Today, 14:56
Joined
Oct 31, 2007
Messages
479
I am getting the below error on a database that previously worked. Thanks.


Code:
 Dim rst As DAO.Recordset

User-defined type not defined
 
What version? Typically that would mean the reference isn't checked in Tools/References.
 
Would you like to explain why you singled out that particular line of code?

Probably a compile error and that's the line highlighted in yellow.
 
Yes it was highlighted in yellow and Access 2010 is being used. Thanks.
 
In 2010 it should be referenced by default. Is the MS Office 14.0 Access database engine object checked?
 
It was just a reference. My database crashed and apparently I forgot to load the ADO reference. Thank you.
 
No problem (and that's DAO not ADO).
 

Users who are viewing this thread

Back
Top Bottom