>I have learned how to set the KeyPreview property of a form to True and put code in the Keypress event method to check for a particular key (such as F2). This part works fine. However I am left with a garbage character in my input field. There must be a way to drop the F2 character after I have acted on it. I have tried CLEAR TYPEAHEAD without success.
>
>Help, please.
>
>Peter Robinson
***keypress event
If nKeyCode=...
NODEFAULT
Endif
Edward Pikman
Independent Consultant