Tab control issue. (1 Viewer)

gcormier

Registered User.
Local time
Today, 06:38
Joined
May 31, 2000
Messages
13
I would like a user to be able to hit the "enter" key to tab between fields when they are entering data into a form which has command buttons. Is it possible for "enter" to move them between fields and then when the focus is on the first command button, activate it (the button)?
 

SomeGuy

Registered User.
Local time
Today, 06:38
Joined
Sep 26, 2000
Messages
62
As long as you don't have subforms withing your main form you can do it.
Go to Tools / Options / Keyboard and change the "Move after Enter" selection. You will probably want "Next Field".

When you set up your tab order, make sure that the command button is last so when the last field is filled out and the user hits enter, the focus will be on the command button. All they need to do is press enter to activate the command button.

Hope this helps.
 

gcormier

Registered User.
Local time
Today, 06:38
Joined
May 31, 2000
Messages
13
The keyboard settings were set correctly and the tab order has my "OK" button set last. Still, when I am in the first field and enter data and hit "enter", it acts as though I pressed the "ok" button.
 

Users who are viewing this thread

Top Bottom