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 / May 2008

Tip: Looking for answers? Try searching our database.

Focus on linked forms

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
C Tate - 16 May 2008 13:50 GMT
I have a form with two linked subforms on it. The first subform is quite long.

When I open the form I want the focus of the subform to be on the first
field. Quite often it is half way along and I have to scroll all the way back
to the start before I can enter a record.

Does anyone know how to achieve this?
strive4peace - 16 May 2008 15:13 GMT
on the main form LOAD event, try this:

me.subform_controlname.setFocus
me.controlname.setFocus

WHERE
subform_controlname is the Name property of the subform control
controlname is the Name property of the control you wish to have the focus

Warm Regards,
Crystal

Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace

 *
   (: have an awesome day :)
 *

> I have a form with two linked subforms on it. The first subform is quite long.
>
[quoted text clipped - 3 lines]
>
> Does anyone know how to achieve this?
 
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.