>Hello All,
>
>I understand that setting the KeyPreview property of a form to .T. will process the keypress event of the form before returning the key to the active control....but I just want my keypress event code to happen on a keypress and not anything else....How do I keep the default keypress operation from occuring after processing it in my KeyPress Event code?
>
>
>Thanks
>Peter
After you've done your processing do a NODEFAULT command.