Does anyone know how i could use the F8 key to act as a cmd button click_event??

Say i had a text box that searched a database. When i enter values into that textbox i want to be able to press F* to execute what is contained in the cmd button's click event! Any ideas??

I already know how to execute the click event by pressing enter, but was wondering if it could be done through F8??

Any ideas??

Many thx in advance