D
Dave Elliott
I have a control on my form where I input a date, Where could I use the code
below so pressing the Plus Key or Minus Keyincreases or decreases the date?
Control name is WorkDateI use the tab key only to navigate my forms.Select
Case KeyAscii
Case 43 ' Plus key
KeyAscii = 0
Screen.ActiveControl = Screen.ActiveControl + 1
Case 45 ' Minus key
KeyAscii = 0
Screen.ActiveControl = Screen.ActiveControl - 1
End Select
below so pressing the Plus Key or Minus Keyincreases or decreases the date?
Control name is WorkDateI use the tab key only to navigate my forms.Select
Case KeyAscii
Case 43 ' Plus key
KeyAscii = 0
Screen.ActiveControl = Screen.ActiveControl + 1
Case 45 ' Minus key
KeyAscii = 0
Screen.ActiveControl = Screen.ActiveControl - 1
End Select