Hi Timothy,
It all depends on your data. From my point of view, keypress is mostly the best.
If you want a filter command including a LIKE-statement containing the current value of the inputfield, the keypress can handle this.
If you want to wait until the user has finished the input, and presses TAB or ENTER then you could react on the CR or TAB-Values of inkey() with the keypress-event (and addionally lostfocus if the mouse is clicking elsewhere)
Simply use Bindevent() to catch keypress and lostfocus and handle the existing content.
Best Regards
-Tom
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011