OnEvent Procedure Error

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.
 
B

BruceM

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top