Solved

What is causing code to run?

Posted on 2014-11-13
4
150 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
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…

728 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