Enter key function

puthenveetil

Registered User.
Local time
Today, 23:12
Joined
Aug 9, 2004
Messages
94
Hi all,

I had a form which I am using for logon to db. the form is working fine, But i had a small doubt in that. When I typed password and press enter key it is only chaning the selection to my command button. Again I had to press the command button to activate the code for command button. If I use mouse it will come at first time itself..Is there any way do this...What I like to get is
when I type password and press enter, the code assigned to the command button should process.

Thanks in advance

Thanks
 
Add the following to the AfterUpdate event of your text box:

CommandButtonName_Click


That will fire your command button code after text entry
 
Look at the On_Change or After_Update events of the password box.
 

Users who are viewing this thread

Back
Top Bottom