J
Jerry McNabb
I am getting the message "Procedure declaration does not match description of
event or procedure."
It started when I wrote the following procedure for an Access 2002 database:
Private Sub Form_Open()
On Error GoTo Err_Form_Open
If Living Then
Text82.Visible = False
DeathYear.Visible = False
DeathCause.Visible = False
End If
Exit_Form_Open:
Exit Sub
Err_Form_Open:
MsgBox Err.Description
Resume Exit_Form_Open
End Sub
When I added this as the first of a list of procedures, most of which were
working fine, the others started giving me the same error message.
I know I have done something stupid. Can anyone tell me what it is?
event or procedure."
It started when I wrote the following procedure for an Access 2002 database:
Private Sub Form_Open()
On Error GoTo Err_Form_Open
If Living Then
Text82.Visible = False
DeathYear.Visible = False
DeathCause.Visible = False
End If
Exit_Form_Open:
Exit Sub
Err_Form_Open:
MsgBox Err.Description
Resume Exit_Form_Open
End Sub
When I added this as the first of a list of procedures, most of which were
working fine, the others started giving me the same error message.
I know I have done something stupid. Can anyone tell me what it is?