Report Printing Automatically Issue

T

The Merg

I have a Form that when a button is pressed, it performs the DoCmd.OpenReport
command. Whenever the report is opened, it automatically prints. I am racking
my brain trying to find what setting I changed to have this happen and am
having a complete brain fart on this. I have even created a brand new report
and the issue is still there. I know the fix is simple, but I can't remember
where this setting is.

Thanks,
Merg
 
C

Clifford Bass

Hi,

Use the acViewPreview setting:

DoCmd.OpenReport "rptMyReport", acViewPreview

Clifford Bass
 
T

The Merg

Yeah... I knew it was going to be something that simple. Been a while since
I've worked in Access...

Thanks,
Merg
 

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