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

Delete a record in a form code

Status
Not open for further replies.

hals

IS-IT--Management
Feb 11, 2004
6
DE
Is the code below the best code for a private Delete sub.
I would rather write my own MsgBox. One problem with the code below is that if I decide to NOT delete by clicking NO, I get an error message.

DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top