"Run-time error '3021':
Either BOF or EOF is True, or the current record has been deleted.
Requested operation requires a current record."
This is the extact code I am using.
------------------------------------------------------------
Public Sub GetCounter(TableOfCounter As...
Public Sub GetCounter(TableOfCounter As String, RecordCounter As Double)
Dim DbCnn As ADODB.Connection0
Dim Cmd As ADODB.Command
Dim Rec As ADODB.Recordset
Dim SQLStatment As String
SQLStatment = "SELECT CntCounter FROM TblCounter WHERE CntTblName = ' " &...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.