Print report in access 2007 runtime

bodylojohn

Registered User.
Local time
Today, 14:21
Joined
Dec 28, 2005
Messages
205
When I open MyReport using the following code:

Code:
DoCmd.OpenReport "MyReport", acViewPreview, "", "", acDialog

Access 2007 nicely shows me the report but I cant print it.

When I use:

Code:
DoCmd.OpenReport "MyReport", acViewPreview, "", "", acWindowNormal

I can print it but I cant display it in dialog.
So I get to see the tabs (forms) and a nice printpreview toolbar.

Is there a way arround it?
And I dont want to use a button.
 
When the report is displayed on the screen, press the "P" key. The print menu will be displayed. Set your preferences and print away.
 
When the report is displayed on the screen, press the "P" key. The print menu will be displayed. Set your preferences and print away.

Thank you very very much.

I will test that right away.
 

Users who are viewing this thread

Back
Top Bottom