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
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