DoCmd.Maximise

Enlarge the active window, the current Access form or report.

Syntax
      DoCmd.Maximise

When an Access window is maximized, all other windows will also be maximized when you open them or switch to them.

The size of an Access Window will be constrained by the size of the window containing the MS Access application, unless the form is a popup form, in which case it can be moved outside the main window.

Pop-up forms are never maximized. To format a form as a PopUp, set the forms PopUp property to True.

Example

DoCmd.Maximise

“We’re not here to leave a mark, bro. Monuments, legacies, marks - that’s where we always go wrong. We’re here to revel in the world, to soak in the awesomeness of it, to enjoy the ride. The world’s maximum perfect as it is, beauty from horizon to horizon. Any mark any of us tries to leave - hell, it’s only graffitti. Any mark anyone leaves is no better than vandalism” ~ Dean Koontz

Related:

Minimize - Minimise a window
Restore - Restore a maximized or minimized window.


 
Copyright © SS64.com 1999-2019
Some rights reserved