[AccessD] How to over ride F1

Bob Hall rjhjr at cox.net
Wed Sep 10 15:20:53 CDT 2003


On Tue, Sep 09, 2003 at 09:26:39PM -0400, Robert Gracie wrote:
>  
>  How does one call a help (html) file simply using the standard F1 key? 

Yet another way:
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
    If KeyCode = vbKeyF1 Then
        KeyCode = 0
        DoCmd.OpenForm FormName:="frmHelp", WindowMode:=acDialog
    End If
End Sub

Bob Hall


More information about the AccessD mailing list