I can't figure this out.
I have a VB6 application writing to an SQL Server 2005 database. At one point in the application, I delete an invoice. This function touches multiple tables using select, update and delete commands. The code is surrounded by BeginTrans and CommitTrans. I don't receive ANY error messages when stepping through the code. After the function completes, the changes have not been made. It's as if the transactions are not committed.
If I remove the begintrans and committrans lines, the transactions do actually occur in the database properly.
Here's the crazy thing... this EXACT code works properly when writing to an SQL Server 2000 database instead of 2005.
Any thoughts?
I have a VB6 application writing to an SQL Server 2005 database. At one point in the application, I delete an invoice. This function touches multiple tables using select, update and delete commands. The code is surrounded by BeginTrans and CommitTrans. I don't receive ANY error messages when stepping through the code. After the function completes, the changes have not been made. It's as if the transactions are not committed.
If I remove the begintrans and committrans lines, the transactions do actually occur in the database properly.
Here's the crazy thing... this EXACT code works properly when writing to an SQL Server 2000 database instead of 2005.
Any thoughts?