Search found 6 matches
- 10.07.2009, 07:27
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Insert and Select in one Transaction: ADO - MS SQL
- Replies: 4
- Views: 2385
Just 2 question: 1) With StartTransaction you need Zeos->autocommit = false; before ZEOS->StartTransaction(); Have you missed to paste it? It's not posted as it's set in the component itself through the objectinspector. I only set it manually for the second test. 2) Do in both cases the same error ...
- 10.07.2009, 07:23
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: ADO: Open RecordSet for each SelectSQL
- Replies: 3
- Views: 1949
- 26.06.2009, 13:25
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Insert and Select in one Transaction: ADO - MS SQL
- Replies: 4
- Views: 2385
- 26.06.2009, 13:24
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: ADO: Open RecordSet for each SelectSQL
- Replies: 3
- Views: 1949
- 15.06.2009, 15:55
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: ADO: Open RecordSet for each SelectSQL
- Replies: 3
- Views: 1949
ADO: Open RecordSet for each SelectSQL
Hi. I need very fast help!! During some tests I did because of problems with transactions, I encountered that the ado-component opens a new session to the ms sql-db every time a select-statement is done. Line 177 in ZDbcAdoStatement.pas if IsSelect(SQL) then begin AdoRecordSet := CoRecordSet.Create;...
- 12.06.2009, 13:38
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Insert and Select in one Transaction: ADO - MS SQL
- Replies: 4
- Views: 2385
Insert and Select in one Transaction: ADO - MS SQL
Hi all, I have a real big problem. We use ZEOS (6.6.1 - beta) to connect via ADO with a MS SQL Server 2005. (coding with Borland C++ Builder 6). Sometimes it is needed to work with transactions, to have the possibility to rollback when something is wrong with the recently inserted data. For this, wi...