Article View: borland.public.cppbuilder.database.multi-tier
Article #413TClientDataSet.ApplyUpdates not deleting ?
From: Scott
Date: Wed, 26 Jun 2002 19:29
Date: Wed, 26 Jun 2002 19:29
18 lines
1572 bytes
1572 bytes
Hi, Not sure where to ask this. I am using C++ Builder 5. This is a desktop application that is using TClientDataSets for in memory tables. The database is Paradox. 1) I save a record to the database using ApplyUpdates 2) I reload the record by calling TClientDataSet->Close() and then TClienDataSet->Open() 3) I then delete the record with TClientDataSet->Delete() 4) Then add a new record with TClientDataSet->InsertRecord(...) 5) Save to the database using TClientDataSet->ApplyUpdates(-1) When looking at the database I see that both the deleted record and the newly inserted record exist. Any ideas? Thanks, *:> Scott
Technical Details
Message-ID:
<3D1A1622.7060100@Telynx.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-08!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,66ef29512215bdce,start X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2002-06-26 12:31:23 PST Message-ID: <3D1A1622.7060100@Telynx.com> Date: Wed, 26 Jun 2002 13:29:38 -0600 From: Scott <NOSPAMsmetzger@Telynx.com> User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.multi-tier Subject: TClientDataSet.ApplyUpdates not deleting ? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 65.173.69.245 X-Trace: dnews 1025119727 65.173.69.245 (26 Jun 2002 12:28:47 -0700) Lines: 19 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-08!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews