Member Avatar for stephen_UK

I have a database that has a simple search form where you enter the 'Search Text' and then mouse click the 'Search' button and the results are displayed.

Alternatively if the Enter key is pressed twice, first time to enter the text and tab to the 'Search' button, and the second time to action the 'Search' button, then the results are displayed.

Is there a simple way of just pressing the Enter key once to action the search?

Thanks in advance for any suggestions.

Stephen

Recommended Answers

All 2 Replies

You can try setting the Search button's DEFAULT property to YES and see if that helps.

Member Avatar for stephen_UK

You can try setting the Search button's DEFAULT property to YES and see if that helps.

That's an idea.

Thanks

S

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.