Print without Previewing: Please help

  • Thread starter Thread starter dollachart
  • Start date Start date
D

dollachart

Thanks for the help in advance. I have 5 different reports that makes
up a contractual package. I already setup each one to be able to
preview but I want to make a button to print all of these 5 reports
without previewing. They should go straight to the default printer even
without the print dialog box pops up. I already tried something like
rptPart1.Print but that didn't work. Please suggest.
Thanks again.
DK
 
Thanks for the help in advance. I have 5 different reports that makes
up a contractual package. I already setup each one to be able to
preview but I want to make a button to print all of these 5 reports
without previewing. They should go straight to the default printer even
without the print dialog box pops up. I already tried something like
rptPart1.Print but that didn't work. Please suggest.
Thanks again.
DK

Code the click event of a command button:

DoCmd.OpenReport "Report1"
DoCmd.OpenReport "Report2"
DoCmd.OpenReport "Report3"
DoCmd.OpenReport "Report4"
DoCmd.OpenReport "Report5"
 
fredg,
Thanks a lot. I've been using DoCmd.OpenReport with Preview Option for
years but didn't know I can use without it and it prints out right
away. Silly me. Thank you so much.
DK
 
Back
Top