I have a textbox into which a character-variable is typed. I would like to know if the ENTER key is pressed. If a variable is entered into the textbox a certain action takes place. However, if the ENTER button is pressed without a variable being entered a second action takes place. I'm not sure how to write the code to identify the ENTER button. (LParameters nKeyCode, nShiftAltCtrl) Please help??? [sig][/sig]