🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #914

Problem on using TDataSetProvider.ApplyUpdate and Transaction!

#914
From: charlie
Date: Mon, 08 Jan 2001 09:15
12 lines
1228 bytes
Hi, All,
  I am trying to update the database using the
TDataSetProvide.ApplyUpdate method with Transaction. But when i run
StartTransaction command then follow by TDateSetProvider.ApplyUpdate
command. I got this error message: 'A user transaction is already in
progress!' Is that the ApplyUpdate method will start an Transaction?
If that is why, how can i rollback the updates if any error occurs
when i run the ApplyUpdate method?

Thanks

Charlie Su
Technical Details
Message-ID: <3a598361.8161185@forums.borland.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,8cf9ccaa03517fb7,start
X-Google-Attributes: gidfcd2b,public
X-Google-ArrivalTime: 2001-01-08 01:22:04 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mail
From: charlie@mioagri.com.tw
Newsgroups: borland.public.cppbuilder.database.multi-tier
Subject: Problem on using TDataSetProvider.ApplyUpdate and Transaction!
Date: Mon, 08 Jan 2001 09:15:04 GMT
Organization: Another Netscape Collabra Server User
Lines: 12
Message-ID: <3a598361.8161185@forums.borland.com>
NNTP-Posting-Host: 211.20.137.186
X-Newsreader: Forte Free Agent 1.21/32.243