Guest_imported
New member
- Jan 1, 1970
- 0
I have created simple databases with Access in the past but I need to print only the current record to a report. Can someone please detail how to do this?
Thanks!
Thanks!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Private Sub cmdPrintHireInvoice_Click()
Me.Refresh
Dim strRptName As String
Dim strWhere As String
strRptName = "HireInvoice"
strWhere = "[HireJobID]=" & Me!HireJobID
DoCmd.OpenReport strRptName, acPrintAll, , strWhere
End Sub