Article View: borland.public.cppbuilder.database.ado
Article #2268Re: ClientDataSet & modified records
From: Harold Howe [TeamB]
Date: Tue, 23 Sep 2003 00:01
Date: Tue, 23 Sep 2003 00:01
17 lines
1654 bytes
1654 bytes
newbie wrote: > Is there a means of determining which records were modified (insert\delete\edit)? > I tried using ->Delta but had no success! You can use the StatusFilter property. ClientDataSet1->StatusFilter = TUpdateStatusSet() << usInserted; This will hide all records other than inserted rows. Note that this does affect any connected data aware controls. You might want to disconnect the dataset from controls before setting the filter. Also, order to use this property, you must set LogChanges to true if it isn't already. H^2
Technical Details
Message-ID:
<3f6f8d1a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f6f6fc6@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,ba26b23c56059862 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-09-22 17:26:55 PST Date: Mon, 22 Sep 2003 19:01:56 -0500 From: "Harold Howe [TeamB]" <hhowe@bcbdev.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: ClientDataSet & modified records References: <3f6f6fc6@newsgroups.borland.com> In-Reply-To: <3f6f6fc6@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 12.205.145.46 Message-ID: <3f6f8d1a@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1064275226 12.205.145.46 (22 Sep 2003 17:00:26 -0700) Lines: 18 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail