>I saw that list, but it also says that if there is a dash (-) then that would me that key returns no value. This is the code I tried in the keypress event and nothing happened.
>
>IF INLIST(nKeyCode,-1)
This makes no sense; why use INLIST() here to compare a single value? INLIST() is designed to take multiple arguments for test values; if you're testing for just one item, then:
IF nKeyCode = -1
has far less overhead and is far clearer.
> ThisForm.m_lookupid()
>ENDIF
>
>However, when I press the F2 key, nothing happens.