Background:
We are running a Half Marathon event, and I want to enter the elapsed times as painlessly as possible. By and large, results come in in order of finishing, so the next person to finish will have a time greater or equal to the previous runner.
I select the runner whose time I want to enter, and let's say the time of the previous runner was 1:23:40
So by default I set the current runner's time the same 1:23:40
Now lets say his actual finishing time is 1:25:21.
What I want to do is just type 521 (no colons) and have that overwriting the 3:40. (3 minutes 40 seconds)
I have a procedure that works to give the correct results, but it fires on the AfterUpdate of the Text Box where I enter the 521. I can give details if relevant. With this routine, entering 1 or 2 numbers alters the seconds; entering 3 or 4 numbers alters minutes and seconds; entering 5 or 6 numbers alters hours minutes and seconds.
Although it works perfectly, the operator can't see what is happening.
What I think I want is to run a procedure on the OnChange of the text box to overlay the numbers. So as each number is entered, the previously entered number must move 1 place to the left, avoiding the colons.
so I envisage something like this:-
Any ideas please?
Phil
We are running a Half Marathon event, and I want to enter the elapsed times as painlessly as possible. By and large, results come in in order of finishing, so the next person to finish will have a time greater or equal to the previous runner.
I select the runner whose time I want to enter, and let's say the time of the previous runner was 1:23:40
So by default I set the current runner's time the same 1:23:40
Now lets say his actual finishing time is 1:25:21.
What I want to do is just type 521 (no colons) and have that overwriting the 3:40. (3 minutes 40 seconds)
I have a procedure that works to give the correct results, but it fires on the AfterUpdate of the Text Box where I enter the 521. I can give details if relevant. With this routine, entering 1 or 2 numbers alters the seconds; entering 3 or 4 numbers alters minutes and seconds; entering 5 or 6 numbers alters hours minutes and seconds.
Although it works perfectly, the operator can't see what is happening.
What I think I want is to run a procedure on the OnChange of the text box to overlay the numbers. So as each number is entered, the previously entered number must move 1 place to the left, avoiding the colons.
so I envisage something like this:-
Code:
Number Entered Display 01:23:40 5 01:23:45 2 01:23:52 1 01:25:21
Any ideas please?
Phil
Comment