Dirk
Thanks for the help.
Think I will have to leave it there.
Bruce
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a report that is 1700 pages or more. It produces a front page and back page for each of the 170 names in the query.
It has a subreport for each Student that could vary from 1 to 17 pages.
I can output this report to a single PDF.
I have created a loop that opens the filtered report for each student and outputs a single pdf in its new or existing folder.
This all works well but whilst the loop is running, for each report to PDF there is a 'Printing' to Dialog box appearing momentarily.
This flashes 170 times during the process.
I am using the docmd's below
DoCmd.OpenReport "rptreportsmain", acViewPreview, , "(tblstudents.studentid) ='" & strStudent & "'", acHidden
DoCmd.OutputTo acOutputReport, "rptreportsmain", acFormatPDF, strFileName, 0
Is there a way of supressing this printing dialog box whilst the loop is running.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Dirk
Thanks for the help.
Think I will have to leave it there.
Bruce