Open Form On Close

  • Thread starter Thread starter PaleRider
  • Start date Start date
P

PaleRider

Hi,

I want to be able to open a form "Inventory" in maximized state when another
form "Features" is closed. Currently when I have form Inventory open and
click a button to open form Features, when Features is closed my Inventory
form looses it's current state and switches to a state that is not maximized.
In other words, I want my Inventory form to stay maximized irregardless of
what any other form is opened and closed.

Is there a way to make this happen?

PR
 
I found a way to keep my main form maximized irregardless of whether I open
another form or table. In my main form's On Activate properties I just added:

DoCmd.maximize

Since all other forms tables are opened from my main form "Inventory", upon
closing the other forms/tables the focus shifts back to "Inventory" and the
On Activate property kicks in and executes the DoCmd.maximize event. It
works so well you can't even tell anything changed at all.

PR
 
Back
Top