Solved

Access 2010 Navigation Control Form

Posted on 2010-09-17
7
1,558 Views
Last Modified: 2012-05-10
How do you setfocus to another tab in the navigation control form?

For example, I am in the Orders tab but when a user double clicks on the item number, I want the focus to be set to the NavProducts Tab and in the NavigationSubform of the NavProducts tab, I want it to display just that one record in the subform for Products.

Thanks in advance.
0
Comment
Question by:dleads
  • 3
  • 3
7 Comments
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 33700343
try
is the ItemNumber in in a subform?
if it is,  
      me.parent.navigationsubformcontrolname.setfocus

if not
     me.navigationsubformcontrolname.setfocus


change navigationsubformcontrolname with the subformcontrol name in the NavProducts Tab
0
 

Author Comment

by:dleads
ID: 33701851
The subform control names do not change.  They remain the same in the Navigation Form.
0
 
LVL 18

Accepted Solution

by:
Richard Daneke earned 500 total points
ID: 33704511
A technique that can work is to use On Dbl Click Event for the control that you have.
With the new embedded macro you can use the GoToControl option to move to that form.
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Closing Comment

by:dleads
ID: 33704545
I ran out of time to use that navigation form.  I opted to build custom ribbons in xml instead.  Thank you for your help.
0
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 33704929
then how does the accepted comment solved  your problem?
0
 

Author Comment

by:dleads
ID: 33704942
It didnt.  I just wanted to assign points for taking the time to try and help.  I now see that I left you out of the points.  I'd be happy to split them between you both, if i knew how to change it.
0
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 33704981
do you like to continue workng on this problem?
 I have an A2010 right now.
if you want to, upload a copy of the db with the navigation control.

and click on Request Attention to reopen the thread.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

758 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

13 Experts available now in Live!

Get 1:1 Help Now