Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with events not firing... 1

Status
Not open for further replies.

tviman

Programmer
Jul 25, 2002
2,123
US
This is wierd... I've got a form in Access 2007 where the events don't fire from Visual Basic - not just one or two, but all of them! (I don't have this problem with embedded macros). As a test, I've put a MsgBox statement into every event (one at a time as an Event Procedure) and never see the Message Box! I've set all the references to match another application were the events respond as expected but no joy on this app. Also, I don't get any compile errors.

What's up?
 




Hi,

Have you turned off events in your code anywhere?
Code:
Application.EnableEvents = FALSE




Skip,

[glasses] When a group touring the Crest Toothpaste factory got caught in a large cooler, headlines read...
Tooth Company Freeze a Crowd! and
Many are Cold, but Few are Frozen![tongue]
 
Remou... I don't think this applies in my case. Besides, I'ver been doing this for a long, long time and have never been plagued with this problem until Access 2007. Besides, I didn't have do to this with the other application - that works fine.

Skip... I haven't turned them off knowingly. I started with a blank form, added 6 fields, then attempted to add two fields and assign that value to another field. Pretty standard and simple stuff but the 3rd field wasn't being updated. So I tried to put a Msgbox in an event and have yet to see a message box appear.

Any other ideas?
 
Okay - figured it out.... and this is really stupid, IMHO. I had to set the folder where the files are being stored to "Trusted".... CRAZY!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top