>I'm using the Keypress to launch my code. To simulate my problem I did the following: I made a new form, put a textbox on it and set the format of the textbox to '!'. When I launch the form and press whatever function key, the 'Ÿ' appears in the textbox.
I suggested to use Textbox Keypress in my first message
LPARAMETERS nKeyCode, nShiftAltCtrl
IF ("!" $ This.Format) AND nKeyCode < 0
NODEFAULT
ENDIF
--sb--