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

Cursor positions itself into the Combo (unbound text box)

Status
Not open for further replies.

stealth3

Technical User
Sep 9, 2004
34
AU
Hello

I have created a database with a Simple and Advanced Search form. On each I have command buttons eg Author, Title and Subject Keyword and when I click on them, an unbound text box appears below it. I have to then place the cursor into the text box to start typing my search query.

Is there some code I can use that after I click on the Command button, the cursor is in position and I can begin my search?

thank you
 
In the code for your button just add:

me.mytextboxcontrolnamehere.setfocus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top