I need a way to disable the Return/Enter key in specific fields or on
a given form.
The goal is to limit way the user exits field as there is necessary
code run when the user exits the field and the Exit Event doesn't seem
to recognize exiting via the Return/Enter key but does for the Tab or
Arrow keys. So I want to limit the user to using the tab or arrow
keys to manuver between fields.
I have tried adjusting the Tools/Options/Keyboard from "Next Record"
to "Next Field" but it doesn't seem to work in a form, just
datasheets. I have also adjusted the "Enter Key Behavior" property in
the properties for the relative fields but that only hides the data by
creating a new line (thus confusing the user as to if they actually
put data in a one line textbox).
So I am assuming that I need to either find a way to disable the
Return/Enter Key or find a way for the Exit event to recognize a
Return/Enter keystroke.
Any help would be appreciated.
von
a given form.
The goal is to limit way the user exits field as there is necessary
code run when the user exits the field and the Exit Event doesn't seem
to recognize exiting via the Return/Enter key but does for the Tab or
Arrow keys. So I want to limit the user to using the tab or arrow
keys to manuver between fields.
I have tried adjusting the Tools/Options/Keyboard from "Next Record"
to "Next Field" but it doesn't seem to work in a form, just
datasheets. I have also adjusted the "Enter Key Behavior" property in
the properties for the relative fields but that only hides the data by
creating a new line (thus confusing the user as to if they actually
put data in a one line textbox).
So I am assuming that I need to either find a way to disable the
Return/Enter Key or find a way for the Exit event to recognize a
Return/Enter keystroke.
Any help would be appreciated.
von
Comment