R
Randy
Access 2000. I have a cmd button on my form to delete the current record.
My db on a laptop with Windows 2000 does not prompt when the delete this
record button is clicked. The record is imediately deleted. The exact same
db on another computer with XP does prompt before deletion. I dont know why
this is. Any ideas? Heres my code. Thanks..Randy
Private Sub Delete_Field_Note_Click()
On Error GoTo Err_Delete_Field_Note_Click
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
Exit_Delete_Field_Note_Click:
Exit Sub
Err_Delete_Field_Note_Click:
MsgBox Err.Description
Resume Exit_Delete_Field_Note_Click
End Sub
My db on a laptop with Windows 2000 does not prompt when the delete this
record button is clicked. The record is imediately deleted. The exact same
db on another computer with XP does prompt before deletion. I dont know why
this is. Any ideas? Heres my code. Thanks..Randy
Private Sub Delete_Field_Note_Click()
On Error GoTo Err_Delete_Field_Note_Click
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
Exit_Delete_Field_Note_Click:
Exit Sub
Err_Delete_Field_Note_Click:
MsgBox Err.Description
Resume Exit_Delete_Field_Note_Click
End Sub