Trying to set the focus on a button on a form

I have a button on a form that is used on a Web application. The user will enter a value in a field and is than supposed to press the “Search” button.

The code that I have in the search button is Formula language and works great except that if the user doesn’t tab to the “Search” button and presses the enter button, no search is completed since focus has not been put on the Search button.

Is there a way of setting the focus on the search button?

Thanks in advance for your help,

Jean

Subject: Trying to set the focus on a button on a form

Hi Jean,

I need the search code ASAP for an application. Can you please provide me ? it would be really great help.

Subject: Trying to set the focus on a button on a form

if you search this forum you will find some answers as this has ben asked before