Using C/ODBC : Transactions

incontrovertableincontrovertable Member Posts: 5
edited 2003-07-10 in Navision Attain
Hello, All!

I use C/ODBC with ADO for accessing Navision Database and have found out strange error concerning transactions.

Set ConnectionObj = CreateObject ("ADODB.Connection")

Any attempt to define transaction seems to be successfull (the method ConnectionObj.BeginTrans gives 1) but if I try to call ConnectionObj.CommitTrans (or ConnectionObj.RollbackTrans) later, the system shows error:

Error: No active transactions
Source: Microsoft OLE DB Provider for ODBC Drivers

What is the problem? Does C/ODBC support transactions at all?

Thanks in advance.
Sign In or Register to comment.