i have adodc1 i want to assign pressing f1 is the first data and f2 in next and f3 is previous and f4 is last data can anyone help me? please help me i need it!
If Shift And vbCtrlMask And KeyCode = vbKeyE Then
If cmdEdit.Enabled = True Then
I think you want to asign a shortcut key , if so, IN VB, you can write this code in the Form Keydown event, like this:
If Shift And vbCtrlMask And KeyCode = vbKeyF1 Then
adodc1.MoveFirst
ElseIf Shift And vbCtrlMask And KeyCode = vbKeyF2 Then
adodc1.MoveNext
ElseIf Shift And vbCtrlMask And KeyCode = vbKeyF3 Then
adodc1.MovePrevious
ElseIf Shift And vbCtrlMask And KeyCode = vbKeyF4 Then
adodc1.MoveLast
end if
Different KeyBoard Key can assign to Diff shortcut for your form.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.