• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 290
  • Last Modified:

Macro / Module Runs when Clicking on Form

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
tfewster500
Asked:
tfewster500
1 Solution
 
Rey Obrero (Capricorn1)Commented:
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
 
tfewster500Author Commented:
Perfect!  Not sure how, I must have put an event in there by accident.  Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now