?
Solved

Macro / Module Runs when Clicking on Form

Posted on 2011-03-11
2
Medium Priority
?
279 Views
Last Modified: 2012-05-11
I'm using Access 2007.

I've developed a database and form that allows users to enter a path and file name into a text box.  I then have 3 buttons on the form.  The first button calls a process to import the text file into the database.  The remaining buttons run 2 different reports.

Everything is working fine.

The problem I have is that if I click anywhere on the white space of the form (not one of the buttons), one of my macros gets called.  It's almost like there is some kind of 'Form_Click()' event somewhere.  Why is this happening and how can I correct it?
0
Comment
Question by:tfewster500
[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 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 2000 total points
ID: 35112088
in the design view of the form,
see if there is an entry in the click event of the Form and Detail section of the form
0
 

Author Closing Comment

by:tfewster500
ID: 35112927
Perfect!  Not sure how, I must have put an event in there by accident.  Thanks
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

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
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…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Suggested Courses

765 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