D
David Mc
Currently i have a form and an event that traps Ctrl+F or
the shortcut to the find command. The problem is when ever
the F is pressed the find dalogue appears. How can i trap
the Ctrl+F together.
Thanks
My code is below:
Private Sub Form_KeyDown(KeyCode As Integer, Shift As
Integer)
If (KeyCode = 17) And (bolCtrl = False) Then
bolCtrl = True
End If
If (bolCtrl = True) And (KeyCode = 70) Then
DoCmd.GoToControl "txtSurname"
DoCmd.DoMenuItem acFormBar, acEditMenu, 9
End If
End Sub
the shortcut to the find command. The problem is when ever
the F is pressed the find dalogue appears. How can i trap
the Ctrl+F together.
Thanks
My code is below:
Private Sub Form_KeyDown(KeyCode As Integer, Shift As
Integer)
If (KeyCode = 17) And (bolCtrl = False) Then
bolCtrl = True
End If
If (bolCtrl = True) And (KeyCode = 70) Then
DoCmd.GoToControl "txtSurname"
DoCmd.DoMenuItem acFormBar, acEditMenu, 9
End If
End Sub