Hey folks -
I'm working on a form. The form is in datasheet view. There are two
fields of concern: "Score" and "Answer".
I'm having problems getting the behavior I want out of it.
Score and Answer are both drop downs. Only Score has a tab stop.
Normally, the user will type in a single number for the Score, 0-9. It
should then update Answer based on the score, and move the cursor to the
Score field the next row down. All this on a single number keystroke.
The idea is that they can fly through the whole form by pressing only
number keys.
The problem is, I can't figure out which event to base this updating
code on. Keypress events screw stuff up if the user tries to tab back
into the previous row.
How should I do this?
Steve Lefevre
I'm working on a form. The form is in datasheet view. There are two
fields of concern: "Score" and "Answer".
I'm having problems getting the behavior I want out of it.
Score and Answer are both drop downs. Only Score has a tab stop.
Normally, the user will type in a single number for the Score, 0-9. It
should then update Answer based on the score, and move the cursor to the
Score field the next row down. All this on a single number keystroke.
The idea is that they can fly through the whole form by pressing only
number keys.
The problem is, I can't figure out which event to base this updating
code on. Keypress events screw stuff up if the user tries to tab back
into the previous row.
How should I do this?
Steve Lefevre
Comment