R
Rich Hunsicker
I have this process that retrieve data from two Oracle tables. Lately, we
have been receiving the OLE error: Multiple-step OLE DB operation generated
errors. Check OLE DB status value, if available. No work was done.
There are two Oracle tables that are processed, the first processes fine,
and the second throws this error (but not all the time). Could it be a data
issue with the information from Oracle? All fields but 2 are defines as
text. Detailed below is the connect string and the processing. When the
process dies, it always dies on the same record which would have me believe
that it is the data issue.
sConnStr = "Provider=MSDAORA;Data Source=XXXX;User
ID=OracleUser;Password=OraPasswd;"
cnxn.Open (sConnStr)
'rs1 is the connected Oracle table; rstConInst is the local Access table
rstConInst.Open TableName, cnn, adOpenKeyset, adLockOptimistic
rs1.MoveFirst
Do While Not rs1.EOF
rstConInst.AddNew
For i = 0 To 13
rstConInst(i) = rs1(i)
Next
rstConInst.Update
rstConInst.MoveNext
rs1.MoveNext
Loop
Thanks for your help,
have been receiving the OLE error: Multiple-step OLE DB operation generated
errors. Check OLE DB status value, if available. No work was done.
There are two Oracle tables that are processed, the first processes fine,
and the second throws this error (but not all the time). Could it be a data
issue with the information from Oracle? All fields but 2 are defines as
text. Detailed below is the connect string and the processing. When the
process dies, it always dies on the same record which would have me believe
that it is the data issue.
sConnStr = "Provider=MSDAORA;Data Source=XXXX;User
ID=OracleUser;Password=OraPasswd;"
cnxn.Open (sConnStr)
'rs1 is the connected Oracle table; rstConInst is the local Access table
rstConInst.Open TableName, cnn, adOpenKeyset, adLockOptimistic
rs1.MoveFirst
Do While Not rs1.EOF
rstConInst.AddNew
For i = 0 To 13
rstConInst(i) = rs1(i)
Next
rstConInst.Update
rstConInst.MoveNext
rs1.MoveNext
Loop
Thanks for your help,