JaxaL
04-19-2004, 12:57 PM
Hi,
I looked up a code to bind keys.. here it is:
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyUp Then
MsgBox "you hit the up arrow"
End If
End Sub
I tried to bind the keys to a Data which is connected to a database [2000].. but nothing happened.. even if i tried the original code.. still nothing happened..
I want to bind my left and right arrow keys to move to previous and next record... is this even possible? i would LOVE to use a horizontal bar to do that.. i have seen in a few forms.. but i couldnt understand it.. ANY HELP will be appreciated...
Thank.
I looked up a code to bind keys.. here it is:
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyUp Then
MsgBox "you hit the up arrow"
End If
End Sub
I tried to bind the keys to a Data which is connected to a database [2000].. but nothing happened.. even if i tried the original code.. still nothing happened..
I want to bind my left and right arrow keys to move to previous and next record... is this even possible? i would LOVE to use a horizontal bar to do that.. i have seen in a few forms.. but i couldnt understand it.. ANY HELP will be appreciated...
Thank.