I have a simple display file that shows a window with a single field for user to enter a value for a number. If the user enters a number and presses enter the program uses the value to send number to other programs. My problem however is if a user places a value in the field and presses F9 the program is suppose to start with the value entered and then generate the next available MOD-11 number. When the user presses F9 the program doesn't take the value entered as the value is still zero which is what it is as a default. How do I capture the value of the field when a function key is pressed and not the enter key? Thank you.