G
Guest
I'm using a print command button on a form:
Private Sub cmdPrintCG_Click()
On Error GoTo Err_cmdPrintCG_Click
DoCmd.OpenReport "rptPKCorrugated", acViewNormal, ,
"[tblProfiles.txtProfileID] = Forms![frmPKCorrugated].form![txtProfileID]"
Exit_cmdPrintCG_Click:
Exit Sub
Err_cmdPrintCG_Click:
MsgBox Err.Description
Resume Exit_cmdPrintCG_Click
End Sub
When I use this button the report isn't sent to my default printer. Any
ideas why?
THANKS!
Private Sub cmdPrintCG_Click()
On Error GoTo Err_cmdPrintCG_Click
DoCmd.OpenReport "rptPKCorrugated", acViewNormal, ,
"[tblProfiles.txtProfileID] = Forms![frmPKCorrugated].form![txtProfileID]"
Exit_cmdPrintCG_Click:
Exit Sub
Err_cmdPrintCG_Click:
MsgBox Err.Description
Resume Exit_cmdPrintCG_Click
End Sub
When I use this button the report isn't sent to my default printer. Any
ideas why?
THANKS!