mohammadagul
PrinceAtif
- Local time
- Today, 17:12
- Joined
- Mar 14, 2004
- Messages
- 298
Hello
I Want to Use the Funtion Keys on the Keyboard for Specific Tasks..
Like
To Open Employee Form Press F1
To Open Customer Forms PressF2
....
I know how to use the Escape key to Close an Open form and save .. I Use the Following Code
Const EscapeKey as Integer = 27
If KeyAscii = EscapeKey then
Docmd.Save
Docmd.Close
Endif
Endif
The Only thing i Dont Know is the Ascii Number for F1..... F12 Key
Any Help Will Be Highly Appretiatied
Muhammad Atif
I Want to Use the Funtion Keys on the Keyboard for Specific Tasks..
Like
To Open Employee Form Press F1
To Open Customer Forms PressF2
....
I know how to use the Escape key to Close an Open form and save .. I Use the Following Code
Const EscapeKey as Integer = 27
If KeyAscii = EscapeKey then
Docmd.Save
Docmd.Close
Endif
Endif
The Only thing i Dont Know is the Ascii Number for F1..... F12 Key
Any Help Will Be Highly Appretiatied
Muhammad Atif