Hi,
I am a newbie, using VB6, When I use the VB Application Wizard to try and teach myself a bit about Databases, Using the NorthWind Db as the record source, I keep on getting an error "Compile error - User-Defined type, not defined." with the following line highlighted in the code.
Private Sub datPrimaryRS_WillChangeRecord(ByVal adReason As ADODB.EventReasonEnum, ByVal cRecords As Long, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset)
I assumed that the wizard would 'Do the right thing !!' what has gone wrong, is there something I am missing here?
Ken
I am a newbie, using VB6, When I use the VB Application Wizard to try and teach myself a bit about Databases, Using the NorthWind Db as the record source, I keep on getting an error "Compile error - User-Defined type, not defined." with the following line highlighted in the code.
Private Sub datPrimaryRS_WillChangeRecord(ByVal adReason As ADODB.EventReasonEnum, ByVal cRecords As Long, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset)
I assumed that the wizard would 'Do the right thing !!' what has gone wrong, is there something I am missing here?
Ken