How to Opn The report window maximized

M

M.A.Halim

Dear All
how to open the report window maximized. I have my report comes in a small
window auto centered. I just want it to open maximized without having the
users to click the maximize button every time the report opens. any code for
that? thanks
 
K

Ken Sheridan

In the report's Activate event procedure put:

DoCmd.Maximize

and in its Deactivate event procedure put:

DoCmd.Restore

BTW I'd recommend that if you want to put your email address in your
signature here you mung it, e.g. mmhali<at>hotmail<dot>com. Otherwise you
may well find it gets harvested by spammers.

Ken Sheridan
Stafford, England
 
B

Brendan Reynolds

M.A.Halim said:
Dear All
how to open the report window maximized. I have my report comes in a small
window auto centered. I just want it to open maximized without having the
users to click the maximize button every time the report opens. any code
for
that? thanks


Add the line ...

DoCmd.Maximize

.... to the Open event procedure of the report.
 

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