Run-Time error 3075 with open report (1 Viewer)

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.
 

Attachments

  • Pic 1.png
    Pic 1.png
    63.4 KB · Views: 367
  • Pic 2.png
    Pic 2.png
    64.6 KB · Views: 353

Users who are viewing this thread

Top Bottom