Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't hide the Database window

Status
Not open for further replies.

1324

Technical User
Jan 28, 2002
16
CA
I triyed to hide the Database window by removing the option<br>
&quot;display database window&quot; from startup menu in Access 97 but when I open the database it is allways shown even I do save it as an MDE file. Can you help please?
 
I found why it is not possible to hide hide the Database window by removing the option "display database window" from startup menu in Access 97, and when I open the database it is allways shown even I do save it as an MDE file. This is because I have had the following code placed in the start up form property On Open <br>
<br>
Private Sub Form_Open(Cancel As Integer)<br>
Minimize the database window.<br>
DoCmd.SelectObject acForm, "Switchboard", True<br>
DoCmd.Minimize<br>
<br>
So when I open the database, there is a procedure to hide the databade window but the second step is that I am opening the switchboard form (starting menu) which has the procedure to minimize the database window thus unhiding the database window. Hmmmmmm..... anyway now it is possible to hide the database window.
 
create a macro called &quot;Autoexec&quot;
Use the action &quot;RunCommand&quot; and the command &quot;WindowHide&quot;

Then use an &quot;OpenForm&quot; to open the switchboard or other menu form
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top