Database window bugging the crap out of me

usurper4

Board Regular
Joined
Mar 30, 2005
Messages
90
I have an Access database that is working great except for one thing: I can't get rid of the Database window!

In Tools-->Startup, I have Display Database Window unchecked...doesn't work.

I tried a Macro under Autoexec...doesn't work.

What happens is as follows:
database boots up to a login screen
user puts in name and password and hits Continue
opens the main Switchboard

however, in front of the Switchboard is the database window; it's not "on focus", but it's there, and it shouldn't be enabled at all. The user has to select the Switchboard in order to get past the database window.

Any suggestions on what I'm missing? I've double checked my code behind the Continue button; nothing there. So, please, help!
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Hi, I think I understand the issue. In your switchboard form design, click Edit -> Select Form, Click View -> Properties -> Other -> Modal -> make sure this is set to 'Yes'. Does this have the effect you want if you re-run your login macro?
HTH, Andrew :)
 
Upvote 0
Nope. I already had modal enabled. Just for kicks, I tried switching it to Popup as well, which works, but obviously doesn't allow for anything else to take the forefront in the Access database.

I also tried making an .mde, but the Database Window still comes up. I'm really at a loss.
 
Upvote 0
Depending on your version of Access (I know this works on some versions), in your login macro, after you close the login screen but before you open the switchboard, try adding the following line into our macro :
RunCommand -> WindowHide
If you have an autoexec macro, you could add this line into that macro instead of the login macro.
HTH, Andrew. :)
 
Upvote 0

Forum statistics

Threads
1,221,905
Messages
6,162,772
Members
451,786
Latest member
CALEB23

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top