I click on a report button on frmA (data entry form) that brings up the report's parms on frmB. Then I click on the print button in frmB, close frmB and the rptC displays. When I click the toolbar print icon, it says "Now Printing" followed immediately with the message "The expression is typed incorrectly or it is too complex to be evaluated"
frmA
In frmB, the print button has:
It looks good until I click the printer icon in the toolbar when I get the error message.
Thanks
frmA
Code:
stDocName = "frmB"
DoCmd.OpenForm stDocName, , , , , acDialog
DoCmd.Close acForm, stDocName
In frmB, the print button has:
Code:
stDocName = "rptC"
DoCmd.OpenReport stDocName, acPreview
DoCmd.Close acForm, "frmB"
DoCmd.SelectObject acReport, "rptC"
It looks good until I click the printer icon in the toolbar when I get the error message.
Thanks