Report goes directly to printer bypassing display on the screen

B

Bill McCarthy

I sure would appreciate some advice on this problem. I've asked before but
got no response and I'm getting desperate.

I have had this problem happen twice now.

I create a report that works successfully. I then modify it in such a way
that I need some code in the OPEN event. Once I do that, the report goes
directly to the printer and I can't get it to display on the screen first.
Even if I remove the code from the event processing, it continue to do this.


Can anyone tell me what I am doing wrong? Thanks.
 
N

Niniel

Unfortunately, I don't think I can help you, but some of the advanced users
might... Couldn't hurt if you posted the code that causes the problem, that
might give them an idea.

Good luck.
 
J

John W. Vinson/MVP

Bill McCarthy said:
I sure would appreciate some advice on this problem. I've asked before but
got no response and I'm getting desperate.

I have had this problem happen twice now.

I create a report that works successfully. I then modify it in such a way
that I need some code in the OPEN event. Once I do that, the report goes
directly to the printer and I can't get it to display on the screen first.
Even if I remove the code from the event processing, it continue to do
this.


Can anyone tell me what I am doing wrong? Thanks.

Not without seeing what you're doing, no!

Presumably you're using the OpenReport method in a macro or VBA code, right?
There's an optional argument which specifies whether you open in print or
preview mode; do you have acViewPreview specified in this action?

John W. Vinson/MVP
 

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