Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run-time error 3709

Status
Not open for further replies.

AndyWatt

Programmer
Oct 24, 2001
1,288
GB
Hi All,

I've come across what seems to me a very bizarre error:

"3709 The search key was not found in any record."

This occurs when one of my clients attempts to update one specific record in a Jet 3.0 database. My app is written in VB6.0 SP5 and uses DAO 3.6.

I have verified the existence of matching primary keys in all tables.

Any ideas? As far as I can see other posts on this have concerned Jet 4 databases...

Your help will be much appreciated.


Andy
"Logic is invincible because in order to combat logic it is necessary to use logic." -- Pierre Boutroux
"Why does my program keep showing error messages every time something goes wrong?"
 
Does it happen only when a user edits the same newly added recorded, added by that same user through the same recordset?
 
Thanks for the reply,

I have added, edited and deleted records and been unable to reproduce this behaviour except with the one record that was exhibiting this problem in the first place. Most odd. The record in question only started doing this last Friday (20 Jun) and it had been successfully updated eighteen or so times since it's creation several months ago.

I have discovered that using Access 2000's compact and repair routine has fixed the symptom, if not the cause.



Andy
"Logic is invincible because in order to combat logic it is necessary to use logic." -- Pierre Boutroux
"Why does my program keep showing error messages every time something goes wrong?"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top