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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delete Button won't work

Status
Not open for further replies.

Arjay418

Programmer
Oct 18, 2002
86
US
Hi everyone,

In one of my forms (it's actually a subform) I use a "Delete" button to delete a record. It has a "delete record" macro in the OnClick event. Seemingly out of the blue, this button began to act up. When I click it, I get the usual warning that Access is about to delete 1 record. I choose OK, and the item goes away. But it reappears if I close the form and reopen it. I can successfully delete the record if I go to the original table and delete it there. I just wish I could delete the records using the delete button on the form.

Any ideas?

--RJ
 
If you have involked referential intergity with an associated table/ field, you cannot just delete anytime. It would leave orphans. I do not know if this explains it or not. Also there should have been an err message.

rollie@bwsys.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top