Enter Key Behavior on Data Access Page

Hello all,

I have a database that is accessed and populated through data access pages.

The problem I am having is that when a user attempts to input data via the enter key, Access responds with a carriage return instead of inputting and moving to the next field.. I have instructed them to use the 'Tab' key, however, the number of enter key errors is excessive..

I have tried changing the enter key behavior property within the database, but this setting doesn't seem to effect the behavior of the page. Is there a way to change the enter key behavior within the Data Access Page itself? And if not, can I just disable the enter key?

Thanks in advance for any suggestions.

Who is Participating?
since a data access page is just an HTML page couldn't you remap the EnterKey via Javascript?

Put a ON ENTER Event and then code what you want the behavior to be.........
BTogniettiAuthor Commented:

Here's what I used;


function kH(e) {
var pK = document.all? window.event.keyCode:e.which;
return pK != 13;
document.onkeypress = kH;
if (document.layers) document.captureEvents(Event.KEYPRESS);

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.