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!

enter key behavior for text box 1

Status
Not open for further replies.

shelron

Technical User
Apr 9, 2002
135
0
0
US
I have created a text box so a user can enter in the number of a project, then click a cmd button that opens a form and displays that project.

I would like to place the same code on the txt box so that the user could alternatively just enter the number and hit the enter key and launch the code to open the form??

I can't seem to identify the event, is there such a thing?

Thanks for any help,

Ron
 
Put the code that is on the button in the After Update event of the text box

Hope this helps
Hymn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top