Hi all,
I would like to modify my code to have a pop-up message saying "No record found" if the text enter unmatch record in database.
Thanks in advance.
I would like to modify my code to have a pop-up message saying "No record found" if the text enter unmatch record in database.
Thanks in advance.
Code:
Private Sub ReportNum_AfterUpdate()
DoCmd.OpenForm "frmAllReports", , , "[ReportNum] = '" & Me.ReportNum & "'"
DoCmd.Close acForm, "frmReportSelector"
End Sub