Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Macro / Module Runs when Clicking on Form

Posted on 2011-03-11
2
Medium Priority
?
283 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

Technology Partners: 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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
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…
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…

618 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