Solved

Macro / Module Runs when Clicking on Form

Posted on 2011-03-11
2
277 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 500 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
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 …
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…

717 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