>Can it be done ? rather than one key. I haven't found much discussion about Keypress event in documentation.
>
>I'm using a form where the object with focus is a grid. Want to be sure page-up & down are OK. . . . . Need to . . catch a string of numbers, look them up, and update some tables if found. Some Keypress samples would really help.
>
>TIA
Keypress fires once every time a key is pressed, and the nKeyCode parameter only gives information about the key that was pressed. To catch a 'string' of numbers, ou would need a custom form property that stored previously pressed keys. You could then build the string by appending the value of the latest keypress onto the end of the form property. This is a pretty awkward solution though- perhaps a little more informaiton about what oyu are trying to do...
Erik Moore
Clientelligence