hi may i know why it wont catch the enter key in listview control in access.
Code:
Private Sub lvCMAList_KeyDown(KeyCode As Integer, ByVal Shift As Integer)
Dim DirFile As String
Dim NewCtr As Integer
Dim BOk As Boolean
Dim msg
Dim LV As MSComctlLib.ListView
Set LV = Me.lvCMAList.Object
If KeyCode = vbKeyDown Then
'THIS WORKS
ElseIf KeyCode = vbKeyUp Then
'THIS WORKS
ElseIf KeyCode = vbKeyReturn Then
'THIS DOESNT WORK
End If
Set LV = Nothing
End Sub