Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Navigating To A Control On A Section

Status
Not open for further replies.

CharlieT302

Instructor
Mar 17, 2005
406
US
How do you specify to move the focus from the header to the detail section programatically?

I have a drop down box in my main form that searches for a record. When it is done, I want to move to a control in the the detail section of the subform. It is currently moving the header of the subform.

Any ideas?

thanks
 
Me![subform control name].SetFocus
Me![subform control name].Form![detail control].SetFocus

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top