Pop Up form opening behind my main form - problem (1 Viewer)

SpiritedAway

Registered User.
Local time
Today, 05:20
Joined
Sep 17, 2009
Messages
97
Hi,

On the OnLoad event of my main form is DoCmd.Maximize - I like my forms to fill the whole screen because it allows me to get more stuff on the screen.

But when I click on a button on my main form to open up a pop up form - the pop up form opens and displays behind my main form which means the user has to keep minimizing the main form to to get to the pop up form.

Can anyone advise how to keep the pop up form to open in front of the main form and not behind.

The pop up form opens just as it should on forms without DoCmd.Maximize on the OnLoad event but opens behind with forms using this bit of code.

I don't want to use DoCmd.Maximize on the pop up form because its just a little update/reminder form.


I'm using Access 2007.

Any input would be really help.

Thanks again.
 

SpiritedAway

Registered User.
Local time
Today, 05:20
Joined
Sep 17, 2009
Messages
97
Thanks Rural Guy

It worked a treat!!!

Thanks again.
 

Users who are viewing this thread

Top Bottom