G
Garret
I'm working with an Access2000 database. I have a form with a
subform. In the subform I have some code in the Form_Current event,
and in the main form I have code in the Load event, Before_Update, and
a few other spots. All this was working fine and I was tweaking the
code a little to see results on the form and subform. One of the
times, I changed a little code (like 1 line) and tried to open the
main form and got this message:
The expression On Load you entered as the event property setting
produced the following error: Procedure declaration does not match
description of event or procedure having the same name.
*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 in evaluating the function, event, or
macro.
Surprised at the sudden error that had nothing to do with what I
changed, I still went back and removed the lines of code I had
placed. However, I still got this message each time I tried to open
the form. If I keep on pressing "OK", it still gets the form to open
up, but I notice that none of my events no longer run on the form or
the subform.
Thanks for any help
subform. In the subform I have some code in the Form_Current event,
and in the main form I have code in the Load event, Before_Update, and
a few other spots. All this was working fine and I was tweaking the
code a little to see results on the form and subform. One of the
times, I changed a little code (like 1 line) and tried to open the
main form and got this message:
The expression On Load you entered as the event property setting
produced the following error: Procedure declaration does not match
description of event or procedure having the same name.
*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 in evaluating the function, event, or
macro.
Surprised at the sudden error that had nothing to do with what I
changed, I still went back and removed the lines of code I had
placed. However, I still got this message each time I tried to open
the form. If I keep on pressing "OK", it still gets the form to open
up, but I notice that none of my events no longer run on the form or
the subform.
Thanks for any help