mslunecka
asked on
Press enter to submit a record in an Access 2003 Data Page
I have another question to check out just below this one. I have an access data page that has just a handful of fields on it. I've stripped out most of the buttons on the nav-bar to leave it with just the backwards and forwards button, the save button and the new button.
I want a way to make it so that when I press the enter key it automatically saves the record and create a new one. Is there a way to make Enter a hotkey or something to that effect?
I want a way to make it so that when I press the enter key it automatically saves the record and create a new one. Is there a way to make Enter a hotkey or something to that effect?
If access 2003 still uses event driven programming you can add code to the onKeyPress event and check to see if the Enter key was pressed. If it was then save the record and start a new one, otherwise exit the subroutine.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.