Link to home
Start Free TrialLog in
Avatar of tiggermt
tiggermt

asked on

Doesn't recognize the ADODB variable types

I am getting the following Visual Basic error in an Access Database (mdb):

Compile error:
User-defined type not defined

The variable that it doesn't recognize is "New ADODB.Recordset"

This database has worked just fine without any issues. Now it doesn't recognize the ADODB variable types.
Avatar of jefftwilley
jefftwilley
Flag of United States of America image

What's changed in your environment? This usually indicates that an update or some other upgrade has either moved or overwritten DLLs on the offending machine. Have you opened the DB up and checked for any missing references?
J
ASKER CERTIFIED SOLUTION
Avatar of mbizup
mbizup
Flag of Kazakhstan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
in case the References suggestions does not fix this ... can you post all the relevant code?

mx
Avatar of tiggermt
tiggermt

ASKER

Thanks! It was the references.
Happy to help