A
azu_daioh
How do I write a code to indicate to only print page 1 of 4 of the
current record?
I tried:
Private Sub printCurrentForm_Click()
On Error GoTo Err_printCurrentForm_Click
DoCmd.PrintOut acSelection, 1, 1
Exit_printCurrentForm_Click:
Exit Sub
Err_printCurrentForm_Click:
MsgBox Err.Description
Resume Exit_printCurrentForm_Click
End Sub
But the code still prints all the pages on the current record. I only
want to print page 1 of 4. pages 2,3,4 are all junk stuff I dont
need. I tried searching online too but nothing came up.
Thank you,
Sharon
current record?
I tried:
Private Sub printCurrentForm_Click()
On Error GoTo Err_printCurrentForm_Click
DoCmd.PrintOut acSelection, 1, 1
Exit_printCurrentForm_Click:
Exit Sub
Err_printCurrentForm_Click:
MsgBox Err.Description
Resume Exit_printCurrentForm_Click
End Sub
But the code still prints all the pages on the current record. I only
want to print page 1 of 4. pages 2,3,4 are all junk stuff I dont
need. I tried searching online too but nothing came up.
Thank you,
Sharon