I have two reports that I frequently view and print. Each time I open the report it opens in a small window. How would I go about changing the behavior to open maximized?
Please be very specific, this is my first Access application.
I recognise the problem you are having.
I have found the best way to approach this is to add
DoCmd.Maximize
to the OnOpen event of all my reports, and also then to add
DoCmd.Restore
to the OnClose event of the reports.
This means that when the reports open, they will be maximised to the full Access window size, but after they are closed, my forms are restored to the normal window size. I find this preferable to including the maximise command in a command button - this works OK for opening, but unless you also include the code in the OnClose event, you will be left stuck with your forms maximised.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.