AcViewPreview for Previewing a Report- but what about print?

harleyskater

IT Manager
Local time
Today, 04:58
Joined
Oct 29, 2007
Messages
95
Ok I think I have a simple question but I am having trouble tracking this answer down myself. If "DoCmd.OpenReport "report",acViewPreview,,,"
opens a report in print preview, what code do you use to just print the report without the preview "DoCmd.OpenReport "report", acPrint,,,," is not working :)

I am using Access 2007. : ) thank you!
 
I found an answer

"DoCmd.OpenReport "report",,,,"

Ok I think I have a simple question but I am having trouble tracking this answer down myself. If "DoCmd.OpenReport "report",acViewPreview,,,"
opens a report in print preview, what code do you use to just print the report without the preview "DoCmd.OpenReport "report", acPrint,,,," is not working :)

I am using Access 2007. : ) thank you!
 
same question but with printing to pdf or emailing with pdf attachment in Access 2007 :)
 

Users who are viewing this thread

Back
Top Bottom