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

Global Delete Warning - using VB code

Status
Not open for further replies.

kramerica

Technical User
Jun 19, 2001
74
US
How can I intercept all Delete attempts an issue a warning with the ability to cancel the delete or confirm it? Regardless of where the user executes the "Delete" from.. For example the Delete "X" button on the menu bar, or file Delete.. etc. etc.

I am looking for some code that would run globally so that I will not have to edit all of the forms. So regardless of where they try to delete a record, it would prompt them for confirmation.

The database is in Access97.

Do you have any samples?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top