Lately I have been getting some strange errors on different forms in my database. It seems like I make one small change that Access doesn't like, so I get this bizarre error that doesn't go away by changing the code back to its original state or closing the program. (I haven't tried restarting my computer.) The only way I can get rid of the error is to create a new form, copy all my controls to the new form and copy my code to the new form.
The error usually says something like: "The expression OnLoad you entered as the event property setting produced the following error: Member already exists in an object module from which this object module derives. 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."
Has anyone else encountered something similar to this and been able to get around it? Let me know. Thanks!
The error usually says something like: "The expression OnLoad you entered as the event property setting produced the following error: Member already exists in an object module from which this object module derives. 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."
Has anyone else encountered something similar to this and been able to get around it? Let me know. Thanks!