Printing report problem

D

Daniel

I have a switchboard that opens a report on the click
event, is
it possible to instead of openning the report and going
file -> print that I can just click from the switchboard
to print out the report without ever showing the report on
the screen or without ever openning the report?

I basically just want to have on the click event to print
out the report without ever opening the report?
 
A

Allen Browne

Have a look at the code in the Switchboard's module.
You will see something like this:
DoCmd.OpenReport stDoc, acViewPreview

Change "acViewPreview" to "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

Top