Hopefully a simple question: I have a command button with the VBA code below. I'd like a message box to appear with a comment and an "OK" button that continues the code below . . is this possible?
Private Sub cmdDuplicateOverpayments_Click()
On Error GoTo Err_cmdDuplicateOverpayments_Click
Dim stDocName As String
stDocName = "qryFindduplicatesforOverpaymentsDetails"
DoCmd.OpenQuery stDocName, acNormal, acEdit
Exit_cmdDuplicateOverpayments_Click:
Exit Sub
Err_cmdDuplicateOverpayments_Click:
MsgBox Err.Description
Resume Exit_cmdDuplicateOverpayments_Click
End Sub