Solved

Minimize Navigation Pane Access 2007

Posted on 2010-08-21
8
998 Views
Last Modified: 2013-11-27
Is there a way in code or macro to minimize  the navigation pane?  Still want to be able to click on it if needed.  Just want it to open my form with the navigation pane minimized.
Thanks, Pat
0
Comment
Question by:PatKung
  • 3
  • 3
  • 2
8 Comments
 
LVL 18

Expert Comment

by:Cluskitt
ID: 33491986
DoCmd.SelectObject acForm, , True
RunCommand acCmdWindowHide

In this case, you select the nav panel. Then hide it.
0
 

Author Comment

by:PatKung
ID: 33491991
<In this case, you select the nav panel. Then hide it.>
How do I select the nav panel in code?

Thanks, Pat
0
 
LVL 18

Expert Comment

by:Cluskitt
ID: 33492024
Code for a couple buttons to show/hide pane (adapt to your own code needs):

Private Sub cmdShowNavigationPane_Click()
DoCmd.SelectObject acTable, , True
End Sub

Private Sub cmdHideNavigationPane_Click()
DoCmd.NavigateTo “acNavigationCategoryObjectType”
DoCmd.RunCommand acCmdWindowHide
End Sub


I haven't tested this to see if it works, but I don't see why it shouldn't.
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 250 total points
ID: 33492069
0
 

Author Comment

by:PatKung
ID: 33492179
You both appear to be hiding it.  What if I just want to minimize it.  Is there a way?  Still want to see the >> to open it back up,
Thanks, Pat
0
 
LVL 18

Assisted Solution

by:Cluskitt
Cluskitt earned 250 total points
ID: 33492199
Try DoCmd.Minimize
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 33492216
oh,, sorry.. it should  be docmd.minimize instead of  DoCmd.RunCommand acCmdWindowHide

like what Cluskitt posted..
0
 

Author Closing Comment

by:PatKung
ID: 33492514
Thanks guys!
Pat
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question