Hi everyone,
I was wondering if anyone knows if this method of printing is the most efficient way to print reports.
Is there any way to print the report without opening it? it seems to take a long time for access to open the report before it prints it? thank you
I was wondering if anyone knows if this method of printing is the most efficient way to print reports.
Code:
Forms!frmKeepopen.Form.chkIsFile = False
DoCmd.OpenReport "rptDispatch", acViewPreview, , rptWhereClause, acHidden
DoCmd.SelectObject acReport, "rptDispatch" ', False
DoCmd.PrintOut acPrintAll, , , acMedium, DCount("employeeId", "join_tbl_DispatchHist_EmployeeTruckTicket", rptWhereClause)
DoCmd.Close acReport, "rptDispatch"
Is there any way to print the report without opening it? it seems to take a long time for access to open the report before it prints it? thank you