Solved

Accecss 2010 - new Navigation Control

Posted on 2013-01-30
1
369 Views
Last Modified: 2013-01-30
I am the new 2010 navigation control as my main form navigation.  It works really well.  I have provided the functionality for the user to open and close various backend databases.  If the user 'closes' all the backend databases I want to disable all of the tabs that show data and default to the form that prompts the user to choose a backend.  

I can enable/disable navigation tabs by setting me.navClientView.Enabled=False, for example.

How do I simulate the user clicking on the tab I want to show?

(Using the old tab control, I could have coded something like:
tabMain=2
call tabMain_Change  

Open in new window

where 2 was the tab I wanted to switch to.
But the new navigation control doesn't work that way.

Each tab button has a name in the new control, and I want to switch to navSettings.  So, something like:
call navSettings_Click

Open in new window

but there is no code - it is now all done with the Navigation Target Name property.
0
Comment
Question by:MonkeyPie
1 Comment
 

Accepted Solution

by:
MonkeyPie earned 0 total points
ID: 38837291
I've solved it.

I needed to use the browseTo command:

DoCmd.BrowseTo acBrowseToForm, "frmSettings", "frmNavigation.NavigationSubform"
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
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…
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 …

920 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

12 Experts available now in Live!

Get 1:1 Help Now