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

Set focus to a text box in a subform

Status
Not open for further replies.

ramondrumon

Programmer
Sep 5, 2002
33
US
I have this code in the current event of the main form to set focus to a text box of a subform.

Forms("FrmSubmittalLog").SetFocus
Forms("FrmSubmittalLog").SubmittalIDNo.SetFocus

I get an error saying it can not find the FrmSubmittalLog, and I can't figure it out, so some help would be appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top