I want to process recordset and do periodic commits without losing the cursor.
I'm trying to use the "Preserve on Commit" property but I'm getting this msg:
ERROR DESCRIPTION: Item cannot be found in the collection corresponding to the requested name or ordinal .
Any ideas, anybody, anywhere
------------------------------------------------------------------
Global cnConnect As ADODB.Connection
Set cnOracle = New ADODB.Connection
strConnection = "DRIVER={Microsoft ODBC for Oracle};" _
& "UID=" & strUserID & ";" _
& "PWD=" & strPassword & ";" _
& "SERVER=" & strDatabase & ";"
cnOracle.Open strConnection
----------------------------------------------------------
sub main
Dim rs As ADODB.Recordset
Set rs = New ADODB.Recordset
rs.Properties("Preserve On Commit") = True
rs.Open ssql, cnConnect ' ssql = sql statement
-------------------------------------------------------

Preserve on Commit
spshah
DRIVER={Microsoft ODBC for Oracle};
LuckyL
JamesCox1968
laiseng
That is the driver that I'm using...The Provider is a property of the connection, is it not
BTW - Thanks for your input :)
sunny123
Vladimir Chtepa
Is this what you're referring to
With cnOracle
.Provider = "MSDAORA"
End With
Drozdi
Evan Mulawski
I had tried that but: "Operation not allowed while object is open".
We're Oracle..Could this be a Sql Server vs Oracle issue