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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

database window hide

Status
Not open for further replies.

fredk

Technical User
Jul 26, 2001
708
0
0
US
I did an advanced search on hiding the database window- I have unchecked the display databse checkbox in the startup window - I also set my main form to open.

However, the user can still minimize or close the main form and see the database window?

I then thought I would just change the "close" property of my form to "no" - this did not work either?

If someone could point me in the right direction I would appreciate it

Thanks!!!!

Fred
 
The approach would be to "Hide" the database window, and then create your own menu without the "Windows Hide/Unhide" option displayed.
 
Thanks for the reply - But I don't think I understand - this is what I did:

*un-checked the "display database window" check-box in the startup window

*created my own form that opens upon startup

However, the user can minimize my form and the database window is there - what did I miss?


Thanks!!!!!!

Fred
 
You need to manipulate the database properties in code when you open the database.
 
In the form (format) properties you can set the folowing properties:

MinMax Buttons (None)
Close Button (No)

Your user will then not be able to minimise or close your form.

You can also disable their ability to use the mouse right click (which would enable form design and thus their ability to see the db window)
 
are you selecting an object in any of your code?

doing this will make the Database window reappear.

put this code in the onload to make the database window go away

Code:
DoCmd.SelectObject acTable, , True
DoCmd.RunCommand acCmdWindowHide

Brought to you By Nedaineum
|
|
The port to Geektron
 
I did figure it out - thanks for all of the help!!!!

Fred
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top