abdullauthan
Programmer
I have a problem with Visual Basic Statements while updating multiple tables in SQL Server 7
For Ex: when I issue the below statements,
cnJSA.Execute "Begin Transaction LockRecord"
UpdateStatus = True
cmJSA.CommandText = "sp_JSA_LockJSA"
cmJSA.Parameters("@JSANo".Value = txtJSANo.Text
cmJSA.Parameters("@LockStatus".Value = LockStatus
cmJSA.Execute
cnJSA.Execute "Commit Transaction LockRecord"
I get the error:
[Microsoft][ODBC SQL Server Driver][SQL Server]The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION.
This used to work until recently. Suddently it won't work for some reason. Any help on this?
Recently, I got an Alert with the Error No. 9002. Is it the reason. I Truncated the Transaction Log for tempdb. Still the same problem.
For Ex: when I issue the below statements,
cnJSA.Execute "Begin Transaction LockRecord"
UpdateStatus = True
cmJSA.CommandText = "sp_JSA_LockJSA"
cmJSA.Parameters("@JSANo".Value = txtJSANo.Text
cmJSA.Parameters("@LockStatus".Value = LockStatus
cmJSA.Execute
cnJSA.Execute "Commit Transaction LockRecord"
I get the error:
[Microsoft][ODBC SQL Server Driver][SQL Server]The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION.
This used to work until recently. Suddently it won't work for some reason. Any help on this?
Recently, I got an Alert with the Error No. 9002. Is it the reason. I Truncated the Transaction Log for tempdb. Still the same problem.