Hi Barbara:
ROFL...Ok...can we agree that there are two more-or-less squirrelly ways of handling this? Shailesh would be served well by either :)
Remember: Cheezy Solutions R Us is my motto
>I assumed (and should have stated) that you would set 'KEYPREVIEW' to .T., so that the form KeyPress would override any control's KeyPress. NOT simple, either way....
>
>
>>I was trying to simplify it...You have to trap the Keypress by key# and then you have to ensure that there is no Keypress event defined in the control with focus that might override form keypress.
>>
>>
>>
>>>John, wouldn't the form KeyPress event be better than ON KEY LABEL?
>>>
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05