Link to home
Start Free TrialLog in
Avatar of naqayya
naqayya

asked on

Assign keystroke to button on Form

Can you show me how to assign a keystroke to a button on a Form.

I have a Form with a command button that checks the data on the Form and then moves to the next record if check is OK.

I want to assign the key F5 (for instance) to carry out the command button's function, ie if the user presses F5 then the data should be checked and move to the next record.

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Brian Mulder
Brian Mulder
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of naqayya
naqayya

ASKER

Great! But have to set Key Preview to 'Yes'

Thanks!
yeah sorry forgot to add that

thanks for the grade
:O)Bruintje