thisisanemergency
Registered User.
- Local time
- Today, 14:44
- Joined
- Oct 25, 2012
- Messages
- 13
I am trying to achieve opening a form while hiding the main database window (by default). I've got it to work but the form (Pop Up) always opens behind any other non-related windows that are currently open, e.g. when opening the DB from a network folder, the pop-up form sits behind the network folder window and is not visible unless you minimise the network folder. I know users will not immediately think to close any open windows and the first instinct will be to click on the Access file in the task bar, and when clicking on that placeholder, the main DB window appears anyway. I have tried the following with the result described above in both cases:
So in a nutshell: I want my form to appear in front of any other open windows or be able to send any other windows to back.
Advice appreciated as always.
- On form open: DoCmd.RunCommand AcCmdAppMinimise (with the form set to Modal: Yes)
- On form open: DoCmd.RunCommand AcCmdAppMinimise and Forms!FormName.SetFocus (with the form set to Modal: No)
So in a nutshell: I want my form to appear in front of any other open windows or be able to send any other windows to back.
Advice appreciated as always.