T
tboggs25
I have a form that is used to call up a specific record and print ONLY that
record. My problem is that it prints a blank page before actually printing
the record. I'm looking to define the page range of the printed report to
only page 1. Any help on this would be greatly appreciated. Below is the
code that I am using now:
Private Sub cmdPrint_Click()
'Print current record
'using rptCaseSheet
If IsNull(Me!CaseSheetNumber) Then
MsgBox "Please select a valid record", _
vbOKOnly, "Error"
Exit Sub
End If
DoCmd.OpenReport "rptCaseSheet", , , _
"CaseSheetNumber = " & Me!CaseSheetNumber
End Sub
record. My problem is that it prints a blank page before actually printing
the record. I'm looking to define the page range of the printed report to
only page 1. Any help on this would be greatly appreciated. Below is the
code that I am using now:
Private Sub cmdPrint_Click()
'Print current record
'using rptCaseSheet
If IsNull(Me!CaseSheetNumber) Then
MsgBox "Please select a valid record", _
vbOKOnly, "Error"
Exit Sub
End If
DoCmd.OpenReport "rptCaseSheet", , , _
"CaseSheetNumber = " & Me!CaseSheetNumber
End Sub