Escape key in access - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Escape key in access

tonymcvtonymcv Posts: 1Member
Does anyone know how to disable the escape key so that fields aren't cleared if someone presses it in a form?
The form I am using keps running tabs of totals from other forms called from it so I don't want the info deleted accidentally.

Comments

  • winston973winston973 Posts: 6Member
    [b][red]This message was edited by winston973 at 2005-4-24 9:55:45[/red][/b][hr]
    : Does anyone know how to disable the escape key so that fields aren't cleared if someone presses it in a form?
    : The form I am using keps running tabs of totals from other forms called from it so I don't want the info deleted accidentally.
    :

    OnKeyPress insert this code
    If (KeyAscii > 26) And (KeyAscii < 28) Then Exit Sub




Sign In or Register to comment.