ADODB not defined

Gkirkup

Registered User.
Local time
Today, 08:01
Joined
Mar 6, 2007
Messages
628
I am testing a big application that I am moving from 2003 to 2010 and .accdb.
In the VBA of a form, on the line:

Dim cn as NEW ADODB.CONNECTION

I get the error, 'Compile error: User-defined type not defined'.

What do I need to do to make this work?

Robert
 
Set a reference to Microsoft Active Data Objects 2.8.
 
Bob: I am new to the 2010 menus. Where would I set a reference to Active Data Objects?

Robert
 
Bob: I am new to the 2010 menus. Where would I set a reference to Active Data Objects?

Robert

The same place as in all previous versions - in the VBA Window at TOOLS > REFERENCES.
 

Users who are viewing this thread

Back
Top Bottom