Stop form from closing when I press Enter

  • Thread starter Thread starter RebeccaKT
  • Start date Start date
R

RebeccaKT

Every form I have closes automatically if I press enter.

From what I can tell - that's just how Access is set up. Is there a way to
change this setting? Or can I insert a Macro into the "On Close" Event on my
form that will give me the option to exit or continue?

HELP!
 
You did not say what version of Access you have. Access 2007 you click on
Office button, at bottom of pave select Access Options - Advanced - Editing
and then one of three choices - Don't move, Next field, Next record.

Earlier versions click on Tools - i think it was Options - Advanced - ...
 
There is no setting in Access to autoclose a form.My guess is that you have
a close button on your form that is closing the form. Try changing the Tab
stop property of the button from no to yes.
 
RebeccaKT said:
Every form I have closes automatically if I press enter.

From what I can tell - that's just how Access is set up. Is there a way to
change this setting? Or can I insert a Macro into the "On Close" Event on
my
form that will give me the option to exit or continue?


This is not normal Access behavior. You mean to say that every form
actually closes, and disappears from the screen, when you press Enter?

Do you by any change have a "close" button on your form, with its Default
property (on the Other tab of its property sheet) set to Yes?
 
Back
Top