>You may be calling the click from inside an OCX control or beyond the container. Little location issues can really eat the clock! Here's hhat ya do in your code attempting to click your button:
>
thisform.container.CmdButton.Setfocus()
>keyboard '{SPACE}'
>
>Get it ?:)
Calling a button's click is bad enough, keyboarding is a kludge of a much higher level...