[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 263
  • Last Modified:

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?
0
mslunecka
Asked:
mslunecka
  • 2
1 Solution
 
GHigbeeCommented:
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.
0
 
GHigbeeCommented:
You will have to put the code in the event handler for the last field that they need to populate. Also make sure that it is the last field in the TAB order.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now