Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Minimize Navigation Pane Access 2007

Posted on 2010-08-21
8
Medium Priority
?
1,037 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 1000 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 1000 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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
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 …
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

715 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