MS Access
Sponsored Links
There are situations where data entry operators need to change date value. This custom made function helps the users to quickly edit the date field using plus key (+) to increment the date value by one day and minus key (-) to decrement the date value by 1 day. The function provided below takes in date value as one of its argument along with keyCode and Shift, both of which are directly transfered from the OnKeyDown event procedure parameters. This function has to be called from the date field OnKeyDown event.