🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.dbexpress
Article #168

What hard is find info...

#168
From: juanma
Date: Mon, 03 Sep 2007 13:55
15 lines
1167 bytes
Hi,
For the people that need transactions this work (how many try and error!!)
( kCn is a   TSQLConnection)

TTransactionDesc Tr;
 Tr.TransactionID = 1;
 Tr.IsolationLevel = Sqlexpr::xilREADCOMMITTED; //the problem, i found 
SqlExpr in some help!
 kCn->StartTransaction(Tr);

//.... your updates / insert / deletes...

kCn->Commit(Tr);

That is all. 
Technical Details
Message-ID: <46dc125a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: fb4e2,38bfd6ce5e95b55c,start
X-Google-Attributes: gidfb4e2,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "juanma" <juanmmm@cajamar.es>
Newsgroups: borland.public.cppbuilder.database.dbexpress
Subject: What hard is find info...
Date: Mon, 3 Sep 2007 15:55:40 +0200
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
NNTP-Posting-Host: 195.57.121.132
Message-ID: <46dc125a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1188827738 195.57.121.132 (3 Sep 2007 06:55:38 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail