To make it easier on the user, I've created a form that pops up when the db is opened, and contains buttons that link to the other form/commands. This form also has a Quit button, and each of the other forms have Exit buttons which close that form, the idea being to bring the user back to the main form. The code I'm using on the Exit button is just
Here's the problem I'm facing: if my StartupForm was maximized when opened initially, when I open Form1, it is also maximized. But then if I click on the Exit button to close Form1 and go back to StartupForm, Form1 closes, and StartupForm is minimized. That is, it's not completely minimized, and the focus goes back to StartupForm, but the form is half the size of the maximized size. Any suggestions on how to have StartupForm be max size when the focus goes back to it? Thanks.
Code:
DoCmd.Close
Here's the problem I'm facing: if my StartupForm was maximized when opened initially, when I open Form1, it is also maximized. But then if I click on the Exit button to close Form1 and go back to StartupForm, Form1 closes, and StartupForm is minimized. That is, it's not completely minimized, and the focus goes back to StartupForm, but the form is half the size of the maximized size. Any suggestions on how to have StartupForm be max size when the focus goes back to it? Thanks.