L
Lamar
Depending on a value criteria from a form, I do not want the first page of a
report to print. I want to put the coding in the report. The report does
not have a set number of pages. So sometimes the report will 2 pages or 10
pages. So it varies. Sometimes I will just need to have the first page
print.
I have tried. Any help is appreciated. Thanks
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
Dim strSendBack As String
strSendBack = [Forms]![FaxEmployment2]![cmbSendBack]
If strSendBack = "MAIL" Then
DoCmd.PrintOut acPages, 2
Else
End If
End Sub
report to print. I want to put the coding in the report. The report does
not have a set number of pages. So sometimes the report will 2 pages or 10
pages. So it varies. Sometimes I will just need to have the first page
print.
I have tried. Any help is appreciated. Thanks
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
Dim strSendBack As String
strSendBack = [Forms]![FaxEmployment2]![cmbSendBack]
If strSendBack = "MAIL" Then
DoCmd.PrintOut acPages, 2
Else
End If
End Sub