G
geert.van.ransbeeck
Hello
I want to send my report to a specific printer. I want to do it by
code.
Here is what I have. Just how make my printerselection?
Thanks in advance!
Dim inum As Integer
Dim sRapport As String
sRapport = "RPT_RADI1"
DoCmd.OpenReport sRapport, acViewPreview, , , acHidden
inum = Val(InputBox("how many prints?", "Print Report", 1))
If iAantal > 0 Then
DoCmd.SelectObject acReport, sRapport
DoCmd.PrintOut , , , , iAantal
End If
DoCmd.Close acReport, sRapport
I want to send my report to a specific printer. I want to do it by
code.
Here is what I have. Just how make my printerselection?
Thanks in advance!
Dim inum As Integer
Dim sRapport As String
sRapport = "RPT_RADI1"
DoCmd.OpenReport sRapport, acViewPreview, , , acHidden
inum = Val(InputBox("how many prints?", "Print Report", 1))
If iAantal > 0 Then
DoCmd.SelectObject acReport, sRapport
DoCmd.PrintOut , , , , iAantal
End If
DoCmd.Close acReport, sRapport