I'm running a vbscript inside DTS that recalculates 200k records in a table. I get an error once I get to the update part that says "Current Recordset does not support updating. May be limitaion of provider, or selected locktype."
Here is my code:
I can run an update query from a different DTS package. What am I missing?
What doesn't kill you makes you stronger.
Here is my code:
Code:
myConn.Open = DB_CONNECT_STRING
strPDP = "SELECT PDP.* FROM PDP WHERE AWord ='12001' ORDER BY IID, RID, AWord, Year"
rstPDP.Open strPDP, myConn, , 3
rstPDP.movefirst
(calculation is done)...
rstPDP.Fields("RawValue") = goRawValue (errors here)
rstPDP.Fields("AValue") = goAValue
rstPDP.Fields("StdValue").value = goStdValue
rstPDP.update
What doesn't kill you makes you stronger.