Solved

"search key was not found in any record"

Posted on 2001-06-15
4
182 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
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…

839 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