Originally Posted by
krasbauer
...how do i make it print 2 copies...
Duplicate the code that is within the click event sub procedure. As an example ...
Code:
Private Sub Aperçu_certificat_Click()
DoCmd.OpenReport "rptEmployeeDetails", acViewPreview, , _
"[lngEmpID]=Forms!frmEmployee!lngEmpID"
DoCmd.OpenReport "rptEmployeeDetails", acViewPreview, , _
"[lngEmpID]=Forms!frmEmployee!lngEmpID"
End Sub
If you need to print more than two copies, like 4 or more copies, I would recommend using code that fires a single statement multiple times. So that code would look different if you need to print many copies.
.