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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error when opening any form or clicking on any button. 1

Status
Not open for further replies.

nim180

IS-IT--Management
Aug 11, 2005
161
AU
Hi All,

I have several database's which i have created and were all working fine a few months back. I went to open the database's today and i got the following error

The expression On Timer you entered as the event property setting produced the following error: Object or class does not support the set of events.

*The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]
*There may have been an error evaluating the function, event or macro

Even when i go into the background of each database to open the forms individually i get the same error, it also happens when i click on a button. Its like as if the code isn't registering, I'm guessing this is just a settings problem. The error comes on all event procedures and not just On Timer. Can anyone tell me what might be wrong.

Thanks,
Nim
 
Which version of Access are you running? If not 2007, has Office 2007 recently been installed on the computer?
 
Do you, in fact, have code or macro set in the Form_Timer event that is common to all of your databases? When apps that work suddenly go south you have to consider missing references.

The Missinglinq

Richmond, Virginia

There's ALWAYS more than one way to skin a cat!
 
Hey all, Yes Axworthy, Office 2007 has been recently installed on my computer but 2003 is also installed. I am using the 2003 version at the moment. Do you think I should uninstall 2007?

I have code set in the On-Timer, but it is not just the On-Timer that is effected, every event procedure on every from comes up with the same error.

Nim
 
Nim,

You could uninstall 2007 if you are not using it. If you want to keep 2007, you could try one of two things:

1. Try Allen Browne's tips ( ) to see if they eliminate the problem.

2. Run the programs using Access 2007.
 
Thanks mate, that worked perfectly! Have a star :-D

nim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top