Try putting the docmd.maximize in the On Activate Event of
the form.
>-----Original Message-----
>I have a really weird problem on a form that I want to
>keep maximized. Theres a button on the form that opens
up
>a new form to get some data and when that form closes to
>go back to the other one, the first form is suddenly not
>maximized anymore, its also shifted to the right so you
>can't see the maximize or close buttons and you can't
move
>the window around if you try. Its like a really weird
>bug. I've encountered this problem before in similar
>situations, and also not encountered it in similar
>situations, its pretty random. I've tried maximizing the
>form on the close or unload of the other one or various
>other things, but none seem to work, the user has to
>refresh or reload the page to get it maximized again.
Has
>anyone else encountered this problem? Does anyone know
>how to fix it?
>.
>