Access OnDelete message

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do you stop the Access message when you delete a record. I want to
create my own but can't figure out how to stop the Access delete confirmation
message.
 
You set the Response variable to the constant "acDataErrContinue" value in
the BeforeDelConfirm event procedure:


Private Sub Form_BeforeDelConfirm(Cancel As Integer, Response As Integer)
On Error Resume Next
Response = acDataErrContinue
End Sub
 
Back
Top