C
CJM
I have page that starts a transaction and runs several StoredProcs before
committing or rollingback. An initial SP create a header records, and then
the code goes into a loop and runs 4 other SP's once per iteration.
I'd had it working previous, but now I have changed one of the SPs and the
order that they all run in...
Structure of Code:
oConn.BeginTrans
sSQL = "Exec etc"
oConn.Execute sSQL
Do While <some condition>
sSQL = "Exec etc"
oConn.Execute sSQL
sSQL = "Exec etc"
rs = oConn.Execute (sSQL)
sSQL = "Exec etc"
oConn.Execute sSQL <---- fails here
sSQL = "Exec etc"
oConn.Execute sSQL
Loop
oConn.CommitTrans
I have no idea what this error means, nor why it is occuring now. The most
significant changes I have made have been on the two preceding SPs, and note
that the 2nd one, now returns a value.
Any ideas?
Chris
committing or rollingback. An initial SP create a header records, and then
the code goes into a loop and runs 4 other SP's once per iteration.
I'd had it working previous, but now I have changed one of the SPs and the
order that they all run in...
Structure of Code:
oConn.BeginTrans
sSQL = "Exec etc"
oConn.Execute sSQL
Do While <some condition>
sSQL = "Exec etc"
oConn.Execute sSQL
sSQL = "Exec etc"
rs = oConn.Execute (sSQL)
sSQL = "Exec etc"
oConn.Execute sSQL <---- fails here
sSQL = "Exec etc"
oConn.Execute sSQL
Loop
oConn.CommitTrans
I have no idea what this error means, nor why it is occuring now. The most
significant changes I have made have been on the two preceding SPs, and note
that the 2nd one, now returns a value.
Any ideas?
Chris