what is the easiest way to import all the records before, then all the records after, compact and repair does not repair it?
All the data is on the back end on the server and users connect via front end
Main Topics
Browse All TopicsThe search key was not found in any record. (Error 3709).
I have an access database that 1 full line in a table has got corrupt and many of the fields have what looks like chinese symbols in instead of legible data.
When I try to delete the line i get the above message and it will not let me. I can tab between fields going accross the infected line but if there is any fields that I change I cannot tab out of the last field and I have to press escape a couple of times for it to replace all the fileds back once again.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Build a table to hold the new data, then build an Append query that moves all data from the corrupt table to the new table. Set the Criteria of your ID field to be <1000 (or whatever number your corrupt record is), run that, then set the Criter to be > 1000 (or whatever), then re-create the one bad record.
Thanks but I need to copy the whole of the table to another table and I am using the name
Field tblregister.*
Table tblregister
Append to Temp.*
Criteria "IDNumber"<40
I am getting "you cannot specify criteria for the asterix (*)
Do i need to add each individual heading to the query then specify in the IDNumber field <L40, and how will affect 2 primary keys, etc
I have tried to cut and paste a line into another and it would not I get "inapprorpriate input mask" and invalid field
I occasionally get a similar situation in our networked environment. Just to elaborate a little on what LSM has already said . here is what works for us.
1. Kick everybody out of the database. Inform them that they will LOSE their changes, etc. if they try to do anything at all.
2. At the server, copy the WHOLE mdb and paste it as a copy TWICE - Copy1 and Copy2.
3. To keep the users from getting back in before you are ready for them, rename your original MDB something else. (like corrupteddata.mdb)
3. Open Copy1 and run Compact and Repair on the COPY.
4. Find the offending record and delete it ( you will have to recreate that record from hard copy, sometimes there are clues to what it was)
5. Close the database.
6. Rename COPY1 to your original name and let the users back in.
Business Accounts
Answer for Membership
by: LSMConsultingPosted on 2007-09-04 at 16:17:09ID: 19829138
Often the only way to fix this is to import all the record BEFORE the corrupt record into a new table, then all the records AFTER the bad one, then recreate the one corrupt record by hand (if possible).
However, you can try a Compact and Repair (Tools - Database Utilities) to see if this fixes it first.
If that doesn't work, you can try to Decompile your database. Easiest way is to build a desktop shortcut with a target like this:
"Full path to msaccess.exe" "full path to your db" /decompile
Make a backup before trying ANY of these things.