Making a form maximize or minimize

I

Imran Ghani

Hi! Im working with MS Access 2007 and VBA code. I want to make my main form
minimize and maximize programmatically. I'll appreciate valuable help in this
regards. Thanks.
 
N

NevilleT

Hi Imran
in the form OnActivate event put the code
DoCmd.Maximize or DoCmd.Minimize
 
Top