Solved

Access 2010 Navigation Control Form

Posted on 2010-09-17
7
1,561 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 120

Expert Comment

by:Rey Obrero (Capricorn1)
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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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 120

Expert Comment

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

Expert Comment

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

770 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