Solved

Macro / Module Runs when Clicking on Form

Posted on 2011-03-11
2
238 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
2 Comments
 
LVL 119

Accepted Solution

by:
Rey Obrero 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
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.

707 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now