Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing command for more than one copy

Status
Not open for further replies.

scra

Technical User
Dec 7, 2001
55
US
What is the code to print 2 or more copies of a report? I have a print command button and needs to print multiple copies of a single report.
 
Thanks, but this is not what I'm looking for. I need to print more than 1 copy of a report not records.
 
Thanks for the code. I have attempted to place the code(s) and no luck. Any ideas as to where?

Private Sub cmd_Print_Location1_Click()
On Error GoTo Err_cmd_Print_Location1_Click

Dim stDocName As String

If chk01 = -1 Then DoCmd.OpenReport "Rpt: Contract SW"

Exit_cmd_Print_Location1_Click:
Exit Sub

Err_cmd_Print_Location1_Click:
MsgBox Err.Description
Resume Exit_cmd_Print_Location1_Click

End Sub
 
Tried and tested on A2002
DoCmd.OpenReport "Birthdays", acViewPreview
DoCmd.PrintOut , , , , 2


Hope this helps
Hymn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top