Link to home
Start Free TrialLog in
Avatar of pattihill
pattihillFlag for United States of America

asked on

The expression OnClick you entered as the event property setting produced the following error ...

I have a user who is running an application that uses an Access database.  When performing a function on one computer she receives the below error, but on a different computer she does not.  The database is shared by both computers.  Does anyone have any suggestions?

"The expression OnClick you entered as the event property setting produced the following error
*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."
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Is it a web application or a Windows Forms application?
Avatar of pattihill

ASKER

Windows.  The program is CWorks ... a maintenance management program.
You chose the wrongs zones i guess. If its a third party app then try to find the proper zone and also try the vendor's website.
The error message is very much a standard access error message, can you please confirm if the form in question is being opened in Microsoft Access and if so what version.

If this is Access and it works on one PC but not another it is normally a references problem, go into a module and go to the Tools Menu References and see if any that are ticked have the word MISSING in front.

Cheers, Andrew
Thank you, I will try that!
could well be that the acces db is corrupt.

this happens from time to time.

can you get into VB from form design and try a debug?
ASKER CERTIFIED SOLUTION
Avatar of Si Ball
Si Ball
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That could be it, Sudonim ...  I will check that out first thing Monday morning and I'll let you know.
Thanks!
good luck.  hope its that.
Thanks, Sudonim!  This worked!
wohooo!

glad my 3 days of toil has saved you some time!