Solved

Access 2010 Enter Key Closes DB in Form View

Posted on 2014-01-23
1
423 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:fargus47
1 Comment
 
LVL 119

Accepted Solution

by:
Rey Obrero 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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
EXCEL 2010 7 39
Splitting out Data 14 27
Error in SQL Query 36 33
How to create a delete query to delete entire records 2 12
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now