Obviously I didn't answer the question you asked! Glad you found the solution.
Barbara
>Barbara - Thanks for your response. I played around with the coding and finally found that in the keypress event I had to setfocus to the command button and then called the click method for it to work.
> if nkeypress
> thisform.reclac.setfocus()
> thisform.recalc.click()
> endif
>
>Why I don't know, but it works!!
>
>Thanks again
>Gaylen