It's not common to have a function key to select a command button. It's usually an Alt+Key combination.
>it's for the commandbutton inside the form, I tried Borislav's advise and it works great, thanks.
>
>regards,
>
>Jerry
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer