Article View: borland.public.cppbuilder.database.multi-tier
Article #438Inserting at end of a TClientDataSet
From: Scott Metzger
Date: Thu, 18 Oct 2001 14:11
Date: Thu, 18 Oct 2001 14:11
12 lines
1459 bytes
1459 bytes
Hi, I am using a TClientDataSet as an in memory table. I initially populate it via a TQuery and a TDatasetProvider. Then I use Insert to add more records to the TClientDataSet. I have created fields for the TClientDataset using the fields editor. I would like newly inserted records to appear at the end of the Dataset. I have tried using Last before calling Insert, however, that results in the newly inserted record being placed directly before the 'last' record. Any ideas? Thanks, *:> Scott
Technical Details
Message-ID:
<3BCEE2F5.4090408@Telynx.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,1d0408bdc8fddd3e,start X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2001-10-18 07:11:14 PST Message-ID: <3BCEE2F5.4090408@Telynx.com> Date: Thu, 18 Oct 2001 08:11:01 -0600 From: Scott Metzger <NOSPAMsmetzger@Telynx.com> User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.multi-tier Subject: Inserting at end of a TClientDataSet Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 65.164.16.48 X-Trace: dnews 1003414201 65.164.16.48 (18 Oct 2001 07:10:01 -0700) Lines: 13 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews