🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TClientDataSet RecNo

#610
From: mpowell
Date: Thu, 05 Apr 2001 14:21
36 lines
2218 bytes
Your suggestion is basically the approach I have taken. I was just wondering
if there was an "elegant" solution based on the data set itself. Though, now
there appears as though there isn't unless I were to subclass TClientDataSet
or something to perform such rearranging behavior.

Cheers!


"Mark Cashman" <mcashman@temporaldoorway.com> wrote in message
news:3ACBA6CC.A514FC7F@temporaldoorway.com...
> Hi!
>
> Recno means nothing to most DBMS which, for a variety of reasons may or
> may not store records in any sort of "real" order (hash tables, for
> instance have no real order).
>
> Indexes give a view of the same records in the order the index decrees,
> and each index has a different "order". In addition, in a real
> client-server database, a single insertion could force recounting and
> renumbering of a potentially prohibitive number of records.
>
> To create a sequenced table you will need to have a sequence number
> field and you will need to manage resequencing. It is a moderately
> complex problem, but it can be done.
>
> ------
> Mark Cashman (TeamB - C++ Builder), creator of The Temporal Doorway at
> http://www.temporaldoorway.com
> - Original digital art, writing, music and more -
> C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring
> (Join us!)
> http://www.temporaldoorway.com/programming/index.htm
> ------
>
>
Technical Details
Message-ID: <3acc80ba_1@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews
References: <3ac4bbb2$1_1@dnews> <3ACBA6CC.A514FC7F@temporaldoorway.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,d6af851d71f1333
X-Google-Attributes: gidfcd2b,public
X-Google-ArrivalTime: 2001-04-05 07:52:10 PST
From: "mpowell" <mike.powell@transcore.com>
Newsgroups: borland.public.cppbuilder.database.multi-tier
References: <3ac4bbb2$1_1@dnews> <3ACBA6CC.A514FC7F@temporaldoorway.com>
Subject: Re: TClientDataSet RecNo
Date: Thu, 5 Apr 2001 08:21:25 -0600
Lines: 38
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 198.59.170.194
Message-ID: <3acc80ba_1@dnews>
X-Trace: dnews 986480826 198.59.170.194 (5 Apr 2001 07:27:06 -0700)
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews