report printing

  • Thread starter Thread starter GB
  • Start date Start date
G

GB

Hello:
I need to print a report without preview it by user.
How to this programmatically?

Thanks,
GB
 
Try use the command button wizard to create your code that does this.
 
DoCmd.OpenReport "MyReport", acViewPreview, ,



If you want the report to print without preview, replace acViewPreview with
acViewNormal.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top