[AccessD] How to over ride F1

Bob Hall rjhjr at cox.net
Wed Sep 10 15:38:05 CDT 2003


On Wed, Sep 10, 2003 at 04:20:53PM -0400, Bob Hall wrote:
> 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

Whoops. He did ask for a solution w/out forms. Funny how hitting the 
send button stimulates the brain cells.

Bob Hall


More information about the AccessD mailing list