Link to home
Start Free TrialLog in
Avatar of mslunecka
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?
Avatar of GHigbee
GHigbee

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
Avatar of GHigbee
GHigbee

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial