PROCEDURE DECLARATION DOES NOT MATCH DESCRIPTION O

USUARIO.EXCLUIDOS 25/05/2007 03:26:18
#218195
what's wrong with the codes? Pls reply me. Thanks

It hightlight this line:

Private Sub Adodc1_MoveComplete(ByVal dReason As ADODB.EventReasonEnum, 
ByVal pError As ADODB.Error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As
ADODB.Recordset

and the popos up this mesg:
Compile error:
Procedure declaration does not match description of event or procedure having the same name

USUARIO.EXCLUIDOS 25/05/2007 20:09:45
#218316
Hi guy,
Review the declaration for MoveComplete method. For me is very strange pass objects (Errors and recordsets) using ByVal. Fix it and try again.
Review the arguments with enumerators too.
MJAC 03/09/2007 17:45:41
#233933
It verifies if it is using component ADODC (ADO data control 6.0).
This necessary component to exist in the form and with the name of ADODC1, the routine in question is this:

Private Sub Adodc1_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.Error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset)

End Sub


it observes the parenthesis in the end. [S58]until more
Tópico encerrado , respostas não são mais permitidas