Looking for Explanation of Error Message

G

Guest

Can anyone tell me what can cause the following error message?

The Expression After Update 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.
 
A

Allen Browne

The message means that you have a Sub that matches the name of one of the
built-in procedures, but the arguments don't match.

This example will do it, because the BeforeUpdate event procecure should
have the argument "Cancel As Integer":

Private Sub Form_BeforeUpdate()
MsgBox "This is bad!"
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Comand Button 2
ComboBox to update TextBoxes on Form 11
Event Procedure 1
Pressing any button results in error 2
Was working...now producing error... 5
NotInList Error 5
ADHResize2K error 3
Huh? 6

Top