Yes. KeyPress is supposed to respond to a Backspace (Ascii 8) event but I have been unable to make it work. The help file says:The KeyPress event occurs when the user presses a key that produces a typeable character (an ANSI key) on a running form while the form or a control on it has the focus. The event can occur either before or after the key is released. This event also occurs if you send an ANSI keystroke to a form or control using either the SendKeys action in a macro or the SendKeys Statement in Visual Basic.
A KeyPress event can occur when any of the following keys are pressed:
Any printable keyboard character.
CTRL combined with a character from the standard alphabet.
CTRL combined with any special character.
BACKSPACE.
ESC.
Ideally, entries into the NameText Field using the Keypress code above should be able to respond with a single character deletion when the BS key is pressed using the following modification to the Case structure:
However, I can not get the text box to return a backspace value. Any thoughts?
Bookmarks