OnEvent Procedure Error

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Every event procedure that I am adding to my form results in the following
Microsoft Access Error:

"The expression On Open you entered as the event property setting produced
the following error: A Problem occured while Microsoft Access was
communicating with the OLE server or ActiveX Control.

* 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 evalutating the function,event,or macro."



This error appears whenever I try to add an 'Event Procedure' anywhere on
the form, regardless of the control or code.

Why ?

Y.
 
You could start by checking references. This article has some information,
including a link to more information:
http://allenbrowne.com/ser-38.html

What is in your OnOpen event procedure? Is there a reference to a custom
toolbar or something of the sort? The OnOpen event will run whenever you
change to form view from design view, so a problem there would generate an
error message every time.
 
Back
Top