?
Solved

Access 2010 Navigation Control Form

Posted on 2010-09-17
7
Medium Priority
?
1,566 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
[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
  • 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 19

Accepted Solution

by:
Richard Daneke earned 2000 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
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.

 

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
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.
Suggested Courses

752 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