ecannizzo
July 31st, 2000, 09:49 AM
I am trying to use this code:
Private Sub datSongs_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, _
ByVal perror As ADODB.Error, adStatus As ADODB.EventStatusEnum, _
ByVal pRecordset As ADODB.Recordset)
Debug.Print "MoveComplete"
If pRecordset.EOF Or pRecordset.BOF Then
Else
Call ControlsTagLoad(pRecordset)
End If
End Sub
But when I try to run my form I get this error:
Compile error: Procedure operation does not match description of event or procedure having the same name.
This should just be an event that runs when the form is loaded.
Any ideas?
Thanks!
Erica
Private Sub datSongs_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, _
ByVal perror As ADODB.Error, adStatus As ADODB.EventStatusEnum, _
ByVal pRecordset As ADODB.Recordset)
Debug.Print "MoveComplete"
If pRecordset.EOF Or pRecordset.BOF Then
Else
Call ControlsTagLoad(pRecordset)
End If
End Sub
But when I try to run my form I get this error:
Compile error: Procedure operation does not match description of event or procedure having the same name.
This should just be an event that runs when the form is loaded.
Any ideas?
Thanks!
Erica