M
MarkD
Hey,
I'm using Access 2000 and trying to get the keydown thing
to work, but it's not.
This is the code behind the event:
'===========
Private Sub DBA_NAME_KeyDown(KeyCode As Integer, Shift As
Integer)
If KeyCode = Asc(",") Then
KeyCode = 0
End If
Debug.Print Chr(KeyCode), KeyCode, Shift
End Sub
'===========
This is what shows up on the debug window when I type
"markd,"
M 77 0
A 65 0
R 82 0
K 75 0
D 68 0
¼ <=== 188 <=== 0
What's with the 188 value when I type a comma? It seems
only the non alphanumeric characters are returning weird
keycodes (1,2,3... a,b,c... work as expected)
I'm using Access 2000 and trying to get the keydown thing
to work, but it's not.
This is the code behind the event:
'===========
Private Sub DBA_NAME_KeyDown(KeyCode As Integer, Shift As
Integer)
If KeyCode = Asc(",") Then
KeyCode = 0
End If
Debug.Print Chr(KeyCode), KeyCode, Shift
End Sub
'===========
This is what shows up on the debug window when I type
"markd,"
M 77 0
A 65 0
R 82 0
K 75 0
D 68 0
¼ <=== 188 <=== 0
What's with the 188 value when I type a comma? It seems
only the non alphanumeric characters are returning weird
keycodes (1,2,3... a,b,c... work as expected)