Solved

recordset problem

Posted on 1998-06-07
5
166 Views
Last Modified: 2010-05-03
hi, I am connecting a VB to a Access db.
I try to open the recordset from a table. But it returns only one row of records for me. So I went back to Access and test it in the query. I got 4 records.
By the way, I open another recordset within the same module, It returns the records that I expected.

How come it only returns one record to me?
What is the possible cause to this problem?
I don't think syntax is the problem, 'cause I checked it no less than 20 times.

thank you

ny971181
0
Comment
Question by:ny971181
[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
5 Comments
 
LVL 1

Author Comment

by:ny971181
ID: 1462721
Edited text of question
0
 
LVL 1

Expert Comment

by:dipal_shah
ID: 1462722
I think you are using VB Enterprise addition. I was facing the same problem. I used RDO control and it got solved. I suppose there is some problem with MS - Jet shipped with Enterprise edition.


dipal
0
 
LVL 1

Expert Comment

by:dipal_shah
ID: 1462723
I think you are using VB Enterprise addition. I was facing the same problem. I used RDO control and it got solved. I suppose there is some problem with MS - Jet shipped with Enterprise edition. IF you will run the same query under Visual Data manager it will return only one row. So don't waste time for that and use RDO control.

Dipal
0
 
LVL 1

Author Comment

by:ny971181
ID: 1462724
Thank you but I can't use RDO control.

ny971181
0
 
LVL 1

Accepted Solution

by:
sachinkas earned 10 total points
ID: 1462725
Try giving movelast to the recordset and check. Also could you paste the code that you are trying to work out.
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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…

691 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