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
Solved

Recordset in VB 5

Posted on 1998-02-23
2
189 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
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

856 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