Solved

Minimize Navigation Pane Access 2007

Posted on 2010-08-21
8
1,029 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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

623 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