[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Accecss 2010 - new Navigation Control

Posted on 2013-01-30
1
Medium Priority
?
383 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
[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
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

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

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.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
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…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

649 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