473,854 Members | 1,508 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error Deleting record


I keep getting the following message when trying to delete a single record
from the table.

"Search key was not found in any record"

The record I'm trying to delete has errors in it and when the cursor is
moved over the record the "invalid Argument" error message pops up.
Any ideas on how to delete this record.
Access 2000 and Win 98SE system
TIA
--
Chris Taylor

Nov 12 '05 #1
2 2313
Chris, if the record cannot be deleted, the table will need to be recreated
without that record.

See:
Recovering from Corruption
at:
http://allenbrowne.com/ser-47.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Chris Taylor" <ch***@bmtool.c om> wrote in message
news:yZ******** ***********@new s20.bellglobal. com...

I keep getting the following message when trying to delete a single record
from the table.

"Search key was not found in any record"

The record I'm trying to delete has errors in it and when the cursor is
moved over the record the "invalid Argument" error message pops up.
Any ideas on how to delete this record.
Access 2000 and Win 98SE system
TIA
--
Chris Taylor

Nov 12 '05 #2
Allen
Thank you very much for your prompt reply. I'm just a newbie to Access and
didn't realize the repair function existed. I used it and am now able to
correct the errors in the record that was giving me problems.

Thanks again
Chris Taylor

"Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
news:40******** *************** @freenews.iinet .net.au...
Chris, if the record cannot be deleted, the table will need to be recreated without that record.

See:
Recovering from Corruption
at:
http://allenbrowne.com/ser-47.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Chris Taylor" <ch***@bmtool.c om> wrote in message
news:yZ******** ***********@new s20.bellglobal. com...

I keep getting the following message when trying to delete a single record from the table.

"Search key was not found in any record"

The record I'm trying to delete has errors in it and when the cursor is
moved over the record the "invalid Argument" error message pops up.
Any ideas on how to delete this record.
Access 2000 and Win 98SE system
TIA
--
Chris Taylor


Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
46919
by: Matthew Louden | last post by:
The following ASP code yields the following error, but actually the new record is stored in database. The same error happens when the application deletes a record, such as sqlStmt ="delete from test where username='2323'" Any ideas? Thanks! <% Dim objRS, sqlStmt Set objRS = Server.CreateObject ("ADODB.Recordset") sqlStmt = "insert into test VALUES ('2341', '2341');"
8
4075
by: Steve | last post by:
I have several pairs of synchronized subforms in an application. I have a Delete button for each pair that uses the following code or similar to delete a record in the second subform: DoCmd.SetWarnings False DoCmd.RunCommand acCmdDeleteRecord DoCmd.SetWarnings True End If ExitHere: Me!SubName.SetFocus
2
344
by: Chris Taylor | last post by:
I keep getting the following message when trying to delete a single record from the table. "Search key was not found in any record" The record I'm trying to delete has errors in it and when the cursor is moved over the record the "invalid Argument" error message pops up. Any ideas on how to delete this record. Access 2000 and Win 98SE system TIA
2
1869
by: Ronny Sigo | last post by:
Hello all, I have made a form with a button to delete the current record. When clicking the button, I get a errmsg "Reserved error" I don't know what this means. And even though I have put "Me!Combo39.Requery" instruction, after deleting - the combobox still shows the name of the deleted person. Furthermore, when closing the form and reopening again, it shows that the record was not deleted ... Can anybody help me with this? The coed is...
0
1612
by: RAllsopp | last post by:
I am having trouble deleting a record from a subform. I actually have a main form with two subforms, one dependent on the record selected in the other. The user selects a record to view on the main form and then can add/edit info on the first subform, which then allows you to enter related info on the second subform. When I try to delete a record from the first subform (and cascade all related records from the second subform), the...
2
1830
by: John | last post by:
Hi I have a master/detail form with detail part being a sub form. My problem is that when a user clicks on the sub form to add a record, this error comes up; "The Microsoft jet database engine stopped the process.because you and another user are attempting to change the same data at the same time.". What is the reason for this error and how can I fix it? Thanks
1
7878
by: iam247 | last post by:
Hi I am a relative beginner with SQL and ASP. With some help after previous posts I have a page which successfully requests querystrings from another page and deletes a record from an access table, However, I get the error message: "Row handle referred to a deleted row or a row marked for deletion" I am using access 2002, the table only has 2 fields (ContactID and
10
6596
by: jpatchak | last post by:
Hi, I have a form with a delete button. Each record is stored with a list name (e.g. "October" or "November"). Each record within a list name is consecutively numbered from 1 to n. This number is called the "prospect number" I have a button on my form that deletes the current record and then renumbers the records that share the deleted record's list name. The problem is, the current record's prospect number is displayed in a bound textbox...
3
3712
by: extremexpert | last post by:
Hai all, I have two tables like hdr and det. I would like to create the trigger for the situation ' 1.Delete Det table records, if any record is deleting in hdr table 2. Delte hdr table records, if any record is deleting in det table '. I have created the trigger for both the tables, but i am facing ' Mutating Error'.... Any suggestions please
5
3193
by: prakashwadhwani | last post by:
The Delete Event/Proc & "Save_Fields_In_Form_Header" Event/Proc in my form were working perfectly. However, after I added a call to the "Save_Fields_In_Form_Header" Event/Proc in the "Current" Event of my form, and I now try to Delete a record, I get ... Run-Time Error 3218 - Could not Update; Currently Locked. My Access application then effectively freezes forcing me to shut Access down & re-start. The record DOES get deleted...
0
9901
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
9751
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11025
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10682
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10758
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7082
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5942
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4159
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3187
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.