Tom, If you read the help on Lastkey() function, it would be more appropriate and helpful for you. It also explains more technical part.
However, you can write "On Key Press Custom EEP" for your variable and test the last key pressed as example code below: SET VARIABLE vLastkey=(LASTKEY(0)) IF vlastkey='[spacebar]' THEN .......... endif IF vlastkey='[Enter]' THEN ............. endif Regards Rehan Wyne On Sunday, November 9, 2014 2:25 AM, TOM HART <[email protected]> wrote: I have a new main external form for which most of the basic tasks for my employees can be done eg make a sale, clock in and out, etc. I use a variable edit for them to enter their password to proceed, this can be entered from a touchscreen number pad I created or from the keyboard. From that point they have to click the button for 'Make a sale', which works fine but this will be new to several of my locations. I know there is a way to capture the Lastkey of [enter] for which then they could enter their id from the keyboard, press enter and 'Make a sale' Tom Hart

