Help! Form Minimizing Itself

dmbfan73

Registered User.
Local time
Today, 04:23
Joined
Nov 21, 2002
Messages
13
I have a problem that I've been trying to fix but can't figure out at all.

I have a main switchboard form with six buttons that open six other forms. Each of these forms has a button that takes the user back to the main form. Everything usually works great, i.e. I can get the individual forms to open and the switchboard form to close itself and open back up when the individual form is closed.

However, every once in awhile these individual forms seem to minimize themselves. Instead of opening up onscreen for the user, it minimizes itself in the database window. The main switchboard form still closes itself as well, so the user is basically left with their desktop with the access program minimized on the taskbar. When the user right clicks and restores access, it opens up the database window, which I don't want them to see.

To fix this, all I have to do is go in the database window, open the form in design view, drag the form until it is the desired size, and hit the save button. If I then close the database and reopen, the form opens up fine. The only problem with this is that no one else can have the database open or it won't let me save the changes to the form (the changes being the resizing). The users also get frustrated when they try to open a form this happens and then they have to come to me to get it fixed.

Has anyone encountered this before? Like I said, it doesn't happen all the time, just every once in awhile. And I can't figure out a pattern to when it happens at all. The forms are all setup as Popup, non Modal. Please help if you can!

Thanks!
 
Try Docmd.Restore in the forms OnOpen event.
 

Users who are viewing this thread

Back
Top Bottom