Solved

"search key was not found in any record"

Posted on 2001-06-15
4
181 Views
Last Modified: 2010-05-02
In attempting to update records in a table from VB5 to Access 2000, I get a

"search key was not found in any record"

error that crashes the app.

Any idea what this means?
0
Comment
Question by:pakmara
4 Comments
 
LVL 12

Expert Comment

by:DRRYAN3
ID: 6196271
See http://support.microsoft.com/support/kb/articles/q245/4/08.asp for details on complex finds in ADO.  

Also, if you are updating a table make sure that your primary key is in your recordset.
0
 
LVL 2

Expert Comment

by:chandukb
ID: 6196275
This may be because of corrupted database.  save a copy of your database on the server, then open the file in Access and run a compact and repair.

Chandu
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7136185
Hi pakmara@devx,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will suggest to:

    Save as PAQ -- No Refund.
*** no way to know if either comment solved the problem

EXPERTS: Post a comment if you are certain that an expert deserves credit.  Explain why.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 7173390
Question placed in PAQ

Computer101
E-E Moderator
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…

773 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