falcondeer
Registered User.
- Local time
- Today, 03:02
- Joined
- May 12, 2013
- Messages
- 101
Hi everybody,
I need some help plz,
I have the attached form.
I get run-time error 3075 (attached) when I click on print when the form is empty like in the pic.
The code under click event is the following:
Private Sub Print_Click()
Dim strReportName As String
Dim strCriteria As String
strReportName = "rptWA"
strCriteria = "P_ID= " & Me!P_ID
DoCmd.OpenReport strReportName, acViewPreview, , strCriteria
End Sub
Appreciate any help.
I need some help plz,
I have the attached form.
I get run-time error 3075 (attached) when I click on print when the form is empty like in the pic.
The code under click event is the following:
Private Sub Print_Click()
Dim strReportName As String
Dim strCriteria As String
strReportName = "rptWA"
strCriteria = "P_ID= " & Me!P_ID
DoCmd.OpenReport strReportName, acViewPreview, , strCriteria
End Sub
Appreciate any help.