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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

new Access doesn't recognize ADODB.Recordset statement

Status
Not open for further replies.

SashaBuilder3

Programmer
Jan 13, 2002
131
CA
Hi everyone,


Here is a problem. I've started using a newly installed Office-2000 and my Access VBA gives me error messages if I try to use ADO components, for example, such a message comes for the following declaration line:

Dim rs As New ADODB.Recordset

It tells that this is a user defined data type or something like that. Interesting, that my db created on another machine with Windows-XP (with its Office) works on the new PC without problems (needless to say its programs use ADO stuff).

Can anyone tell me what's going on?


Thanks,

Alexandre
 
While in VBE, menu Tools -> References ...
Check Microsoft ActiveX Data Object 2.x Library

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top