Solved

What is causing code to run?

Posted on 2014-11-13
4
153 Views
Last Modified: 2014-11-30
PROBLEM
When I click the Reports menu button and then press enter code begins to run and the screen flashes?

When I click the Events menu button and then press enter code begins to run and I am redirected to the Incident screen?

I am not sure how to correct this problem or what caused it?
RC-Ver-15.zip
0
Comment
Question by:cssc1
[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
  • 2
4 Comments
 
LVL 61

Expert Comment

by:mbizup
ID: 40442484
Are you referring to the Reports and Events buttons in the menu running across the top of the form?

By "press enter", do you mean hitting the Enter key on your keyboard?

I am not experiencing the problem you are describing using the sample database you uploaded.

It could be an issue with specific data in your copy of the database.

Or it could be an issue with my understanding of the issue  (possibly for others too, considering how long this question has gone unanswered).  Perhaps posting screenshots might help.
0
 

Author Comment

by:cssc1
ID: 40442683
Sorry for my poor description.

Yes, I mean hitting the Enter key on the key board.

Yes, the Reports and Events buttons in the menu running across the top of the form.
0
 
LVL 40

Accepted Solution

by:
als315 earned 500 total points
ID: 40443425
When you press menu button, specific button become active (you can see dashed line around this button). Enter key press this button again and macro from this button is started again. In reports all forms are closed and main form is reopened, so you see screen flash. In events after clicking active becomes button "Incidents", so enter run macro from "Incidents" button. You can play wit default events for enter or, for example, add dummy button and move focus to in the end of your macro. Look at sample for reports button
RC-Ver-15.zip
0
 

Author Closing Comment

by:cssc1
ID: 40472907
thanks
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

630 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