How to maximize the report window

B

Ben

Hi all,

When I open a report using:

DoCmd.OpenReport "MyRpt", acViewPreview

Is there a way to force the wiindow to maximize as well?

Thanks,

Ben
 
D

dymondjack

In the report's Open Event use this line of code

DoCmd.Maximize

Also, I think the second to last argument for OpenReport is the window
style, which can be set to open maximized. I'm not in a position to verify
this at the moment though...

--
Jack Leach
www.tristatemachine.com

- "First, get your information. Then, you can distort it at your leisure."
- Mark Twain
 

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