Solved

Access 2010 Navigation Control Form

Posted on 2010-09-17
7
1,562 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

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…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Familiarize people with the process of utilizing SQL Server stored procedures 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 Micr…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

809 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