Solved

Access 2010 Enter Key Closes DB in Form View

Posted on 2014-01-23
1
427 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Library not Registered 16 51
Searching good PDF to OCR 7 38
MS Access VBA Print PDF just Current Page 9 12
access pop-up form 3 9
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
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…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

863 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

19 Experts available now in Live!

Get 1:1 Help Now