Increment a date field with a key press (up or down arrow, for instance)?
Posted on 2006-11-20
I have a data entry form with a date field. Every five to ten entries requires the user to enter a new date - usually one or two days from the current default date. The default date is updated each time a new date is entered.
Anyway, I'd like to provide the user with the ability to increment the date one day up or one day down with the up arrow or the down arrow, respectively.
Would the code be set up to detect if the key pressed was the up or down arrow key and then carry out the appropriate increment?
Thanks in advance,