Stop a default 'print'

N

Neal C

I am using the DoCmd.OutputTo acOutputreport on a button on a form. Whe you
use the DoCmd command with a report the default is that it always wants to
print the report as well as doing the command.
Can I stop it printing?

Thanks Neal
 
T

TedMi

The OutputTo command does just that - produces printed output. Instead,
use this:
DoCmd.OpenReport "myReport", acViewPreview
-TedMi
 

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