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

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

  • [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.