Hi everybody i have a problem
I have a programme that got its data from a access database
i used to do that with a recordset which i get with this function
'setting the recordset
Set GetData1 = New adodb.Recordset
'execute the SQL-Query
GetData1.Open strSQL, conDB, adOpenForwardOnly, adLockBatchOptimistic
Set rsOutput = GetData1
so far that works in oracle as well
now in access if i wanted to write data into that recordset i did that like that:
currentrecordset.AddNew
currentrecordset.Fields(0) = "Data1"
currentrecordset.Fields(1) = "Data2"
currentrecordset.UpdateBatch
here i have problems with the oracle database
i get this errormessage:
Run-time error'3251':
Current Recordset does not support updating. This may be a limitation of the provider, or of the selected locktype
I already tried using different locktypes but had no succes with that
is there something wrong with the update batch?
does somebody know what is wrong here?
Thanks a real lot
I have a programme that got its data from a access database
i used to do that with a recordset which i get with this function
'setting the recordset
Set GetData1 = New adodb.Recordset
'execute the SQL-Query
GetData1.Open strSQL, conDB, adOpenForwardOnly, adLockBatchOptimistic
Set rsOutput = GetData1
so far that works in oracle as well
now in access if i wanted to write data into that recordset i did that like that:
currentrecordset.AddNew
currentrecordset.Fields(0) = "Data1"
currentrecordset.Fields(1) = "Data2"
currentrecordset.UpdateBatch
here i have problems with the oracle database
i get this errormessage:
Run-time error'3251':
Current Recordset does not support updating. This may be a limitation of the provider, or of the selected locktype
I already tried using different locktypes but had no succes with that
is there something wrong with the update batch?
does somebody know what is wrong here?
Thanks a real lot