Article View: borland.public.cppbuilder.database.multi-tier
Article #608Re: TClientDataSet RecNo
From: Mark Cashman
Date: Wed, 04 Apr 2001 22:57
Date: Wed, 04 Apr 2001 22:57
23 lines
1828 bytes
1828 bytes
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:
<3ACBA6CC.A514FC7F@temporaldoorway.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!zeus.visi.com!news-out.visi.com!hermes.visi.com!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnewsReferences:
<3ac4bbb2$1_1@dnews>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-04 16:10:05 PST Message-ID: <3ACBA6CC.A514FC7F@temporaldoorway.com> Date: Wed, 04 Apr 2001 18:57:16 -0400 From: Mark Cashman <mcashman@temporaldoorway.com> Reply-To: mcashman@temporaldoorway.com X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.multi-tier Subject: Re: TClientDataSet RecNo References: <3ac4bbb2$1_1@dnews> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.14.197.193 X-Trace: dnews 986425012 24.14.197.193 (4 Apr 2001 15:56:52 -0700) Lines: 25 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!zeus.visi.com!news-out.visi.com!hermes.visi.com!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews