Making the ENTER key work a command button.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top