Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / July 2007

Tip: Looking for answers? Try searching our database.

Tab off subform to main form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BonnieW - 09 Jul 2007 17:04 GMT
I would like to be able to have my users tab off a control in a subform to
another control in the main form.  I know I've seen code on here to check for
tab keypress, and on that event kick them back to the main form, but I can't
seem to dig it up again.  I've also seen some people suggest a teensy tiny
textbox on the subform whose only purpose is to kick the user back to the
main form.  I'm happy with either solution- but is one "better" than another?
If neither are optimal, is there another solution out there for this?
Marshall Barton - 09 Jul 2007 20:38 GMT
>I would like to be able to have my users tab off a control in a subform to
>another control in the main form.  I know I've seen code on here to check for
[quoted text clipped - 3 lines]
>main form.  I'm happy with either solution- but is one "better" than another?
>If neither are optimal, is there another solution out there for this?

The simplest(?) solution is to train users to use Ctrl+Tab

Users being users, I have also used the tiny text box with
code like this in its GotFocus event:
    Parent.somecontrol.SetFocus

Signature

Marsh
MVP [MS Access]

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.