How do I program a TEXTBOX so that it validates the contents when the user enters some value inside it then presses the <RET> key?
I have an 'Employee Number' box defined as my first text entry field where a user should enter an Employee number then press <RET>
Once the <RET> key is pressed my code should go and check that the data entered exists as an actal employee.
The problem is that I don't be able to find a textbox method or event that caters for this action.
Have tried the event 'Leave' but this only works when I press the <TAB> key when I've finished entering data in the field and also then messes up all my button actions on screen as 'by definition' as soon as I click on buttons unrelated to the Employee textbox my code attempts to complete the 'Leave' defined code for my Employee text box.




