Keycodes for FKeys

cinders

Registered User.
Local time
Today, 10:24
Joined
Aug 28, 2001
Messages
48
Where can I find a listing of the ASCII values for Keyboard Keys/Keystrokes. I am attempting to use the KeyPress Event. I want to indicate If F10 is pressed then display a certain value in an unbound text box.

For future reference though, i would like to get access to a listing if anyone knows where I might find one.

Thanks

Cindy
 
try this

in Ms Access
Tools
Macro
VisualBasic Editor
help
Ms VisualBasic Help
Type in the Search Box ------ KeyCode Constant

in addition to your question you are trying to use the on key press even. i also use most of my programming stuff on key strokes .. here is how i am doing

supposing you want to open an employee from from switchboard

on the form properties go to on Key Down event procedure and type the following

select case keycode
case vbkeyF2
docmd.openform "Employees"
case else
end select

in the above kode you can add as many vbkey and give the command. remember to update your keypreview to Yes.

hope this would work for ....

best of luck
 
Is this what you are after?

Andy
 

Users who are viewing this thread

Back
Top Bottom