G
Guest
I have a command button on a form "Print Case Report" that won't print
the report. It appears to go to the printer as I can see momenentarily the
little "printing pages 1-6", but then noting prints out. It will print if I
open it in print preview and right click on it and then click on print. I
don't understand this.
Another on of my reports prints just fine with the cmd button on the form. I
have the app deployed over Citrix and I get the message "You must install a
printer."
An aside, is it possible to embed a print command in the preview view's
report bar where the report caption shows up?
Any help is greatly appreciated. Here's the code behind the button. Thanks,
Rob
Private Sub cmdPrintCaseReport_Click()
On Error GoTo Err_cmdPrintCaseReport_Click
Dim stDocName As String
stDocName = "rptCaseReport"
DoCmd.OpenReport stDocName, acNormal
Exit_cmdPrintCaseReport_Click:
Exit Sub
Err_cmdPrintCaseReport_Click:
MsgBox Err.Description
Resume Exit_cmdPrintCaseReport_Click
End Sub
the report. It appears to go to the printer as I can see momenentarily the
little "printing pages 1-6", but then noting prints out. It will print if I
open it in print preview and right click on it and then click on print. I
don't understand this.
Another on of my reports prints just fine with the cmd button on the form. I
have the app deployed over Citrix and I get the message "You must install a
printer."
An aside, is it possible to embed a print command in the preview view's
report bar where the report caption shows up?
Any help is greatly appreciated. Here's the code behind the button. Thanks,
Rob
Private Sub cmdPrintCaseReport_Click()
On Error GoTo Err_cmdPrintCaseReport_Click
Dim stDocName As String
stDocName = "rptCaseReport"
DoCmd.OpenReport stDocName, acNormal
Exit_cmdPrintCaseReport_Click:
Exit Sub
Err_cmdPrintCaseReport_Click:
MsgBox Err.Description
Resume Exit_cmdPrintCaseReport_Click
End Sub