TIDMAN
06-30-2004, 07:41 AM
Hi there all, can someone advise me on how i would go about modifying this code so that it will print 3 copies of the report in access 97?
Private Sub printrpt_Click()
On Error GoTo Err_printrpt_Click
Dim stDocName As String
stDocName = "rptSamSteel"
DoCmd.OpenReport stDocName, acNormal
Exit_printrpt_Click:
Exit Sub
Err_printrpt_Click:
MsgBox Err.Description
Resume Exit_printrpt_Click
End Sub
Thank you in advance.
TIDMAN.... :confused:
Private Sub printrpt_Click()
On Error GoTo Err_printrpt_Click
Dim stDocName As String
stDocName = "rptSamSteel"
DoCmd.OpenReport stDocName, acNormal
Exit_printrpt_Click:
Exit Sub
Err_printrpt_Click:
MsgBox Err.Description
Resume Exit_printrpt_Click
End Sub
Thank you in advance.
TIDMAN.... :confused: