Before delete warning

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

Guest

I have a popup form and I want to make a warning before the user can delete
permanently a record.
I already made a macro with a MsgBox with the message «Do you really want to
delete this record?», and assigned that macro to the form OnDeleting event,
but nothing happened and the record was simply deleted with no warnings.
What am I doing wrong?
Thank you in advance.
Acores
 
Acores,

How are you actually deleting the record? Using a
RunCommand/DeleteRecord action in your macro? Clicking the Delete
button on the form toolbar? Something else? Is the record being
deleted from the "popup form", or from another form? Does the normal
Access delete confirmation message occur?
 
Hi, Steve.
I created a shortcut menu (right click menu) with some predefined buttons,
such as 'Delete record' or 'Add record' in a popup form.
However, when I click in the button 'Delete record', I do not have a warning
message: Access simply delete the record! And that's what I want to avoid.

"Steve Schapel" escreveu:
 

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