To personalize menu

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

Guest

Hello!

When we need to delete a record, appear one menu with message:
"You are about to delete 1 record(s)"
I woul like to create a personalized menu.
How or where is possible to see an example, please.

Thanks in advance.
an
 
First go to Tools ... Options and the Edit/Find Tab and disable record
confirmations. Then use the Delete event of the form to do something like:

Private Sub Form_Delete(Cancel As Integer)
If MsgBox("Yo mama! Are you sure?", vbYesNo, "MyApp") = vbNo Then
Cancel = True
End If
End Sub
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access
 
Back
Top