A
Archives
Hello,
Does anybody know how to use an ADO event under Access 97 ?
Since, we can't use the Enum type under Access 97, I try to replace
ADODB.EventStatusEnum by a Long type. So, I have this code:
Private Sub connEvent_ConnectComplete(ByVal pError As ADODB.Error, _
adStatus As Long, _
ByVal pConnection As ADODB.Connection)
But I get an error at the compilation. I checked this code under Access 2003
and all was fine.
Do you know how to code this event under Access 97 ?
Does anybody know how to use an ADO event under Access 97 ?
Since, we can't use the Enum type under Access 97, I try to replace
ADODB.EventStatusEnum by a Long type. So, I have this code:
Private Sub connEvent_ConnectComplete(ByVal pError As ADODB.Error, _
adStatus As Long, _
ByVal pConnection As ADODB.Connection)
But I get an error at the compilation. I checked this code under Access 2003
and all was fine.
Do you know how to code this event under Access 97 ?