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

Set focus Subform Issue

Status
Not open for further replies.

Ktx7ca

IS-IT--Management
Apr 5, 2008
88
CA
Hello

I'm sure I'm missing somthing stupid but I can't get my text box on a subform to be set when it opens.

I have a main form with several buttons each opening a diffent subform in the main form.

I don't want the user to have to click on the first box, but have the curser already there.

any help is apreicated
 
try

Code:
Me.SubformControl.SetFocus
me.SubformControl.form.control.SetFocus
 
Thanks Guys, that was a Great Help. I see where I had my syntax all wrong.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top