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

Event procedure not Work

Status
Not open for further replies.

gc

MIS
Mar 8, 2001
68
US
I have a mainmenu form which has a lot event procedures. It worked fine, but suddenly it totally does not work. when run every event procedure on the form I got error massage:

"The expression On Click you entered as the event property setting produced the following error: Event procedure declaration does not match description of event having the same name.
* 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."

I check the declaration and all the names, but can't find anything not match. In the same database event procedures of other forms work well.
What causes this error and how to correct it?
Please help and thank you in advance.
George
 
You probably have a Reference problem. Open a module, goto Tools... References... see if any are marked missing. If so, uncheck these. If not, check an unmarked reference. Remember which one you checked. Close the module. Re-open the module and uncheck the one you just checked. Close the module. Try to re-run your code.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top