Printing Multiple Reports in order with Multiple Copies

I have 5 reports that need to be printed in order.  I would like the user to click a button on a form that would print the reports in order and I would like the print dialog to come up so that the user can choose the printer, the number of copies and other printer options.

Can this be done?

Jeff
wellesleydpwAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Jeffrey CoachmanConnect With a Mentor MIS LiasonCommented:

Sorry, more generic:

DoCmd.OpenReport "YourFirstReport", acViewPreview
DoCmd.RunCommand acCmdPrint
'Repeat for the other reports
0
 
Jeffrey CoachmanMIS LiasonCommented:
DoCmd.OpenReport "Catalog", acViewPreview
DoCmd.RunCommand acCmdPrint
'Repeat for the other reports
0
 
wellesleydpwAuthor Commented:
boag2000,
that prompts the user for each report.  Is there a way that the user will be prompted once and all the reports can print with those settings?
Jeff
0
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

 
Jeffrey CoachmanMIS LiasonCommented:
<user will be prompted once and all the reports can print with those settings?>
This requirement was not explicitly stated in your original post.

My post does what was requested.
Your new specifics will require a far amount of custom coding

So perhaps another Expert will chine in

JeffCoachman
0
 
Nick67Connect With a Mentor Commented:
As @boag2000 says, while this is doable it is not easy.
The print dialog box that comes up will set properties that can then be hard for the Access VBA to find and save through the next printings.
Access 2002+ do have a Printer object that has all of the settings your heart could desire
It would be possible to create a custom form that presented the same combos textboxes and radio buttons as the built in form.
It could then tweak the Printer object through successive printings.

Another possibility is to open a popup form.
The end user enters a number of copies desired
The end user then chooses File|Page Setup and gets everything just so
On the popup form, the user clicks a done! button, and the report is hidden
Rinse and repeat for the other four reports
When the last report is end-user tweaked a final command button does a loop through the number of copies, issuing a
        DoCmd.SelectObject acReport, "SomeStringThatGivesEachReportNameInTheLoop"
        DoCmd.PrintOut acPrintAll
for each hidden report.
It the closes all the reports, not saving changes.

But that, too, is complex and prone to end user screwup
0
 
wellesleydpwAuthor Commented:
It seems as though there's no easy solution here.  Thank you for your help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.