maximize in a macro makes all forms maximize

N

Noel

When I use the Maximize command in a macro all of the open forms expand . . .
not just the active form. Why and how can this be fixed?
 
F

fredg

When I use the Maximize command in a macro all of the open forms expand . . .
not just the active form. Why and how can this be fixed?

This is normal Access behavior.
If you want just that one form to maximize, code it's Open or Load
event:
DoCmd.Maximize

Code it's Close event:
DoCmd.Restore

When you close the form, the other objects will then be un-maximized.
 
Top