Question : What Reference is needed for "Dim db As ADODB.Connection" ?

This program is in DAO.  I converted to Access2000 and am using the M$ DAO 3.6 Lib. along with M$ Access 9.0 Lib.

Trying to add a new module using ADO but "Dim db As ADODB.Connection" says "User defined type not defined"

What am I missing?

Thanks,

Mac

Answer : What Reference is needed for "Dim db As ADODB.Connection" ?

If I remove the reference to "Microsoft ActiveX Data Objects 2.5 Library", I get the same error.  Mebbe try that one.
Random Solutions  
 
programming4us programming4us