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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top