Solved

BOF/EOF error  w/ADO  VB6.0

Posted on 1998-12-25
2
937 Views
Last Modified: 2012-05-04
I have a very simple Access db with full share rights. I am using a Find method to locate a specific record then write this to the UI.  I can only locate a few records before I get an BOF or EOF error message.  When I try to handle this by capturing the error and saying movefirst or movelast (or even movenext and moveprevious) this does not seem to help.  In either case my program seems to get stuck on the first or last record and will not find any more records.  What am I doing wrong?
Thanks.  
0
Comment
Question by:gcassel
[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 Comments
 
LVL 12

Expert Comment

by:mark2150
ID: 1452498
Lets see your code. You may have your search too restrictive.

M

0
 
LVL 1

Accepted Solution

by:
Renato102098 earned 50 total points
ID: 1452499
It is more flexible use SQL for example
Select field1, field2, field3 from Table Where field1 = 'nnn' ... field2 like 'mmm&' .... order by field3 Asc ....
This is more quick if you set CursorLocation = adUseServer and you lost same benefit.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…
Suggested Courses
Course of the Month10 days, 12 hours left to enroll

632 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