To prevent the Nav Pane from showing when the database starts, go to:
Office Button | Access Options | Current Database
In the Navigation section, uncheck the box for:
Display Navigation Pane.
You may be able to show the nav pane later with:
DoCmd.SelectObject acForm, Me.Name
However, that won't work if the Forms section of the nav pane is collapsed.
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Jone" <(E-Mail Removed)> wrote in message
news:4D9DD077-C778-4980-9953-(E-Mail Removed)...
> How do I hide whole database window when the database opens and what code
> do
> I type in to unhide the window
>
> ----------------
> This post is a suggestion for Microsoft, and Microsoft responds to the
> suggestions with the most votes. To vote for this suggestion, click the "I
> Agree" button in the message pane. If you do not see the button, follow
> this
> link to open the suggestion in the Microsoft Web-based Newsreader and then
> click "I Agree" in the message pane.
>
> http://www.microsoft.com/office/comm....public.access