Solved

Minimize Navigation Pane Access 2007

Posted on 2010-08-21
8
974 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
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 250 total points
ID: 33492069
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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 119

Expert Comment

by:Rey Obrero
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

707 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now