A family of Microsoft relational database management systems designed for ease of use.
Hi shoeic
Create an Event Procedure for the On Click event of the control.
I used a button called cmdButtonName
This is the code you need for the On Click event.
Private Sub cmdButtonName_Click()
On Error GoTo Err_cmdButtonName_Click
If MsgBox("Are you sure you want to continue?", vbYesNo + vbQuestion, "Confirmation Required") = vbYes Then
DoCmd.RunMacro "YuorMacroName"
End If
Exit_cmdButtonName_Click:
Exit Sub
Err_cmdButtonName_Click:
MsgBox Err.Description
Resume Exit_cmdButtonName_Click
End Sub
Hope this helps
Bob Fitz