B
Bob
How can I shut off the confirmation for "Delete Record" operation. I
select the record in the form, click a command button that does a
delete record via an event procedure, and get a confirmation prompt
(action is the same as if you selected a record and then used edit->
delete record). Perhaps I need to return a value somewhere to
something ?
Code follows, TIA,
Private Sub Command35_Click()
On Error GoTo Err_Command35_Click
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
Exit_Command35_Click:
Exit Sub
select the record in the form, click a command button that does a
delete record via an event procedure, and get a confirmation prompt
(action is the same as if you selected a record and then used edit->
delete record). Perhaps I need to return a value somewhere to
something ?
Code follows, TIA,
Private Sub Command35_Click()
On Error GoTo Err_Command35_Click
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
Exit_Command35_Click:
Exit Sub