Howdy, Stranger!

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

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.