I started receiving this error as soon as I linked my subform and form (link
child and link master). When I remove this link, the error goes away. What
is going on?
Presumably there's an error on the form, where a procedure declaration does
not match. We can't see the form though!
Is there any VBA code on the form or the subform? One case where I've seen
this error message is if you have a Sub which should have a parameter, and
doesn't; for example, the BeforeUpdate event of a form or a control should
have a (Cancel as Integer) parameter. If your code contains Private Sub
Form_BeforeUpdate() without the Cancel, you'll get this error. The reverse can
also happen - a Sub that should not have a parameter does.