Dim rst As ADODB.Recordset
Set rst = New ADODB.Recordset
rst.ActiveConnection = CurrentProject.Connection
rst.CursorType = adOpenStatic
rst.LockType = adLockOptimistic
rst.Open "Select * from tblFAKTURI ORDER BY FAKTURA"
Dim rDATUM As Date
rDATUM = rst("DATUM")
Why I can't retrieve value from rst to a variable..like in this example
I need to perform further manipulation with variable rDATUM
I can retrieve with DAO but not with ADO..Why?
Set rst = New ADODB.Recordset
rst.ActiveConnection = CurrentProject.Connection
rst.CursorType = adOpenStatic
rst.LockType = adLockOptimistic
rst.Open "Select * from tblFAKTURI ORDER BY FAKTURA"
Dim rDATUM As Date
rDATUM = rst("DATUM")
Why I can't retrieve value from rst to a variable..like in this example
I need to perform further manipulation with variable rDATUM
I can retrieve with DAO but not with ADO..Why?
Last edited: