Access Key Codes

The simplest way to find a key code in Microsoft Access is to test for it when you are designing the application. For example, you could use the following test:

Sub LEAD1_KeyDown (keycode As Integer, Shift As Integer)
cMsg = CStr(keycode)
MsgBox cMsg
End Sub