Making the ENTER key work a command button.

R

Ray

I have a password form in my app that works.

The only problem is that if a user hits enter after inputting the password,
Access counts the enter chr as part of the password and gives a wrong
password message.

How can I make access accept the enter key as the same as clickking the
CONTINUE button I have on the form.

Anyy help appreciated.

Ray
 
G

George Nicholson

It sounds like the EnterKeyBehaviour property of your textbox is set to
NewLineInField (which I assume adds a CrLf, like you describe).
Try changing the property to Default.

HTH,
 
Top