Solved

Access 2010 Enter Key Closes DB in Form View

Posted on 2014-01-23
1
435 Views
Last Modified: 2014-01-29
Hi Experts,

I can't figure out what I did to my forms so that when Enter is pressed, the DB is closed.  The forms titled "Old.." in the attached file don't do it so I'm assuming it's something in the new forms I've created.  Thank you in advance for you help!
Menus.accdb
0
Comment
Question by:Skip Sleeper
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 39805225
it is the form "frmSwitchboard"
the control that is having the focused is the "cmdQuitAccess"

so when you hit Enter it closes  your db.

changed the Tab order of the controls, so that the  "cmdQuitAccess" is not the one active when you open your form "frmSwitchboard"


the other command button "Items" also have the command to quit access.
you need to change the code to do what it should do
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question