Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADODB.RecordSet not defined?!?!?

Status
Not open for further replies.

darkangrydragon

IS-IT--Management
Jul 18, 2002
15
0
0
US
Hi,

I am trying to use ADO instead of DAO for recordset operations, but everytime I try and declare an ADO recordset, I receive the message, "User defined data type not defined."

Here is the code:

Dim rst As ADODB.Recordset

Any ideas? Thanks!
 
Nevermind - figured it out.

For those who want to know:

In VB goto Tools->References... and make sure the "Microsoft ActiveX Data Objects Libray" is checked. I am using A2K, so I'm not sure if it is different in other versions.

THanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top