Hi! :)

Im developing an application with visual basic 6.0 for front end and MS SQL 2000 for backend. I've been trying to create a data grid but the error above keep showing up. I wonder what's wrong with the code (since it was system generated I tought it would work). Maybe I messed up somewhere but I couldn't figure it out.

SOS anybody? I got the error from the code below:

Private Sub datPrimaryRS_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.Error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset)
'This will display the current record position for this recordset
datPrimaryRS.Caption = "Record: " & CStr(datPrimaryRS.Recordset.AbsolutePosition)
End Sub

9 Years
Discussion Span
Last Post by selvaganapathy

Hi, can u tell What is the error you got? That means Error Description and Error Number ?

Hi there! Uhmm.. I havent got Error description and error number since the application didnt actually run.. I think VB checks first before running the application. And then it encountered something that triggered that error and prevented it from executing the commands.


This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.