Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / June 2007

Tip: Looking for answers? Try searching our database.

Enter Key behavior

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
wgaskill - 29 Jun 2007 16:50 GMT
Running an application with a lot of forms and tables.  On a number of my
forms, when I enter data into a field and press the Enter key, the
application exits out of the form.  I've made sure the "EnterKeyBehaviour"
parameter is set up correctly, and so forth, with no success.  As an aside,
if I step through a validation macro manually, the form doesn't exit, but if
I go through automatically it does.
Could this be caused because of the size of the application?
Dirk Goldgar - 29 Jun 2007 17:00 GMT
> Running an application with a lot of forms and tables.  On a number
> of my forms, when I enter data into a field and press the Enter key,
> the application exits out of the form.

Do you mean that the form closes, or the whole application exits?

> I've made sure the
> "EnterKeyBehaviour" parameter is set up correctly, and so forth, with
> no success.  As an aside, if I step through a validation macro
> manually, the form doesn't exit, but if I go through automatically it
> does.
> Could this be caused because of the size of the application?

Do you by any chance have a "Close" command button on that form, with
it's Default property (on the Other tab of its property sheet) set to
Yes?  If so, that button will be activated when you press Enter.

Signature

Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)

wgaskill - 29 Jun 2007 17:16 GMT
Hitting Enter exits out of the form.

I do have a "Close" command button and it was set to "yes".  I set it to
No and that solved the problem.

> > Running an application with a lot of forms and tables.  On a number
> > of my forms, when I enter data into a field and press the Enter key,
[quoted text clipped - 12 lines]
> it's Default property (on the Other tab of its property sheet) set to
> Yes?  If so, that button will be activated when you press Enter.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.