Hi,
I have the follwing problem: I created a form which has a button. When pressed (onclick) it searches a table to find the requested entry. I started to create the database using Access 2000. A collegue helped me with it at work using Access 2003. When I try to run it (click it) on Access 2003 (or Access 2002 on a different computer) everything works as intended (so there is no error in the code). But when I try it at home I get the following message:
"The expression On Click you entered as the event property setting produced the following error: A problem occured while Microsoft Office 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 macro, or [Event procedure].
* There may have been an error evaluating the function, event or macro."
I also get the same error when I close the form (which has a code with OnClose statement, which exits Access when the form is closed). The only thing that changes is "The expression On Close....."
I can't understand where the problem is because the code works flawlessly in other computers, but not mine. Thanks for your interest.
I have the follwing problem: I created a form which has a button. When pressed (onclick) it searches a table to find the requested entry. I started to create the database using Access 2000. A collegue helped me with it at work using Access 2003. When I try to run it (click it) on Access 2003 (or Access 2002 on a different computer) everything works as intended (so there is no error in the code). But when I try it at home I get the following message:
"The expression On Click you entered as the event property setting produced the following error: A problem occured while Microsoft Office 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 macro, or [Event procedure].
* There may have been an error evaluating the function, event or macro."
I also get the same error when I close the form (which has a code with OnClose statement, which exits Access when the form is closed). The only thing that changes is "The expression On Close....."
I can't understand where the problem is because the code works flawlessly in other computers, but not mine. Thanks for your interest.