Anyone who stops learning is old, whether at twenty or eighty. Anyone who keeps learning stays young. The greatest thing in life is to keep your mind young.
In my record search data base, I have fields where the user can type in all, or part of, a project number, file name, customer etc. and then a search button that brings up the information. This works beautifully. Some of my co-workers want to type in the information and then press the enter key to initiate the search. How do I write the code to make it do that?
Reply from Richard Rost:
The easiest way is to just create a button on your form and set its DEFAULT property to YES. This will make that button's code run when the user presses ENTER.
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.