Solved

Recordset in VB 5

Posted on 1998-02-23
2
192 Views
Last Modified: 2012-05-04
Why is VB 5 not recognizing recordset as a valid type?
I get a user type not defined error when attempting to compile the statement
dim TempRS as recordset
0
Comment
Question by:whitej8
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 2

Accepted Solution

by:
alokm earned 200 total points
ID: 1457761
Because you did not add reference to the library you want to use.
Goto Project->References and then check the DAO or RDO whichever u want to use.
That will certainly work.
0
 
LVL 2

Expert Comment

by:alokm
ID: 1457762
Since u are using recordset u probably want to use DAO.
If u don't want compatibility with previous versions of JET engines then u should choose MicroSoft DAO 3.5 Object Library.
This will solve it.

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question