henryreynolds
asked on
Capture Key press of user
Good Day
I got a grid on my form, but what I want to do is when the user type a 3 digit code e.g 301 or 901 from his keybord and press enter, then I want to seacrh a record in my grid and display the record.
Can someone show me a example on how to capture the key stroke on the form when the user type 301 and press enter. When the user press enter, then I must do my part pf searching the grid and try and locate the record.
Now if the type 307 again and press enter then it must do my search again.
thanx
I got a grid on my form, but what I want to do is when the user type a 3 digit code e.g 301 or 901 from his keybord and press enter, then I want to seacrh a record in my grid and display the record.
Can someone show me a example on how to capture the key stroke on the form when the user type 301 and press enter. When the user press enter, then I must do my part pf searching the grid and try and locate the record.
Now if the type 307 again and press enter then it must do my search again.
thanx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you very much, it is perfect.
Keep well
Henry