Hi all is there any way to have a MsgBox to replace the popup dialog box of a report that is based on a query?
I don't want the user confused by the criteria (forms!tblPartsOutbound!RepairID)
I tried the code below, but it still pop up the criteria box...
Any comment appreciated!
Private Sub Command2_Click()
Select Case MsgBox("Do you want view the Replaced Parts List of " & Me.txtRepairID & "?", vbYesNo, "Replaced Parts List By Repair ID")
Case vbYes
DoCmd.OpenReport "rptPartsOutbound", acViewPreview, , "[forms]![tblPartsOutbound]![RepairID] = '" & Me.txtRepairID & "'"
Case vbNo
Me.Undo
End Select
End Sub