L
Leslie Isaacs
Hello All
I have a form that has an OnOpen event, an AferInsert event and an
AfterUpdate event. Until yesterday they all worked fine, but then I tried
amending these events (without success). Now I find that either the form, or
all the events, have become corrupt, as when any event 'fires' I get the
message
"the expression OnOpen (or AferInsert or AfterUpdate) you entered as the
event
property setting produced the following error: Procedure declaration does
not match the description of event or procedure having the same name".
The only way I can get the form to open is to delete the event procedure for
the OnOpen event, and the only way I can use the form to insert or amend a
record is to remove those events.
As a trial, I removed the AfterInsert and AfterUpdate events, and set the
OnOpen event to the very simple
MsgBox ("Hello"), but event like this I get the above error message and
cannot open the form.
I desperately hope someone can help here - this form is needed daily and
without the original 3 event procedures it is almost useless.
Many thanks
Les
I have a form that has an OnOpen event, an AferInsert event and an
AfterUpdate event. Until yesterday they all worked fine, but then I tried
amending these events (without success). Now I find that either the form, or
all the events, have become corrupt, as when any event 'fires' I get the
message
"the expression OnOpen (or AferInsert or AfterUpdate) you entered as the
event
property setting produced the following error: Procedure declaration does
not match the description of event or procedure having the same name".
The only way I can get the form to open is to delete the event procedure for
the OnOpen event, and the only way I can use the form to insert or amend a
record is to remove those events.
As a trial, I removed the AfterInsert and AfterUpdate events, and set the
OnOpen event to the very simple
MsgBox ("Hello"), but event like this I get the above error message and
cannot open the form.
I desperately hope someone can help here - this form is needed daily and
without the original 3 event procedures it is almost useless.
Many thanks
Les