473,412 Members | 2,051 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

"Search Key Not Found in any Record" Error when delete

Isomorphism
I have front end form, query, and report database that sits on a desktop(5 computers), and a table database that sits on a server. All 5 front ends are linked to the backend. Every once in a while one of the records gets completely messed up--all the fields get jumbled--and when I try to delete and recreate the entry, it says Search Key Not Found. Has anyone heard of this, and if so, is there anything I can do?
Aug 13 '07 #1
6 8196
Rabbit
12,516 Expert Mod 8TB
How are you trying to delete it?
Aug 13 '07 #2
going to the main table and clicking delete
Aug 14 '07 #3
puppydogbuddy
1,923 Expert 1GB
going to the main table and clicking delete
Here are some things to to try (be sure you have system backed up):
1. check and see if you have indexed a memo field ( a no no!) in that table.
2. If so, remove index, then try to delete the bad record.
3. Still no go? shut down FE and BE, then compact/repair BE.
4. try to delete bad record again.
5. still no go? make a "structure only" copy of table. Make sure no index on memo fields.
6. create append query that will exclude bad record and append good records to new table.
Aug 14 '07 #4
MMcCarthy
14,534 Expert Mod 8TB
I have front end form, query, and report database that sits on a desktop(5 computers), and a table database that sits on a server. All 5 front ends are linked to the backend. Every once in a while one of the records gets completely messed up--all the fields get jumbled--and when I try to delete and recreate the entry, it says Search Key Not Found. Has anyone heard of this, and if so, is there anything I can do?
Is the table (backend) database written in Access?

If so this sounds like a form of corruption. This can happen on multi user databases when two users are trying to edit the same record at the same time. In the backend database go to Tools - Options and under the Advanced tab set the default record locking to Edited Record. This will prevent more than one user editing a record at the same time.

To recover your current records you will need to follow puppydogbuddy's instructions and create a new table and append the records. However, this is not always easy to do and sometimes it won't work. In this case I would copy and paste the records out to excel and import into the new table. Be careful of your formatting though.
Aug 14 '07 #5
BradHodge
166 Expert 100+
I agree with Mary and PuppyDogBuddy's suggestion. This has happened to me in the past and the best thing you can do is "tip-toe" around those bad records. I especially like Mary's idea of copying and pasting to Excel, just make sure you stay clear of any bad records. I've had databases totally lock up and have had to go to my most recent back-up.

Good Luck!
Aug 15 '07 #6
Thank You, I changed the setting in the advanced to edited record. And I exported, deleted, and re-imported using excell.
Aug 16 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Luke Dalessandro | last post by:
I have an application where there is a primary XML data file. I'll use the following as an example: <data> <item id="a"> <name>A</name> <price>$10</price> </item> <item id="b">...
10
by: Matt Adams | last post by:
A web page which exists for a couple of years under a certain address (e.g. http://www.aaa.com/bbb/ccc.html) is (should be) moved to another location (e.g....
3
by: domcatanzarite | last post by:
How would one create a button that on click advances the form to the next "non recurring record" as opposed to the next record. The field the button needs to que from has groups of duplicate...
0
by: vaibhavsumant | last post by:
<project name="DBCreate" default="usage" basedir="."> <property name="user" value="db2admin"/> <property name="passwd" value="db2admin"/> <property name="dbprefix" value=""/> <property...
4
by: mpatharkar | last post by:
Hi all, I wrote a script to search a pattern in input file and if pattern does not found in input file ,print that pattern in to output file. The input file is...
1
by: mitica grigore | last post by:
hello i use an access 2002-2003 database under an access 2007 environment and win xp sp3 i have about 24'000 records so far sometimes, when i try to use "back-up database" or "compact & repair...
1
by: Amjad Raza Gill | last post by:
I am facing this problem during the migration from oracle to db2, pls. help to remove this error. I am new to DB2. DB21034E The command was processed as an SQL statement because it was not a ...
2
by: Laneyshia | last post by:
Hello Again. I have been proceeding through my code, thanks to you guys, and although this particular line may not be needed it is giving me this error that does not make sense. When asked to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.