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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setfocus on subsubform field

Status
Not open for further replies.

nelslynn

Technical User
Oct 16, 2002
1
0
0
US
I have a subform on a mainform and a subsubform within my subform. Both subform and subsubform are in datasheet view. When I click on the "+" to open the subsubform how do I set the focus on the first field on the subsubform?
 
Using the syntax that minkers provided you can set the focus by using the

[Reference subform control].setfocus

here's an untested example

Forms!Employees!EmployeesSub.form!EmployeeID.SetFocus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top