Article View: borland.public.cppbuilder.database.multi-tier
Article #607Re: TClientDataSet RecNo
From: mpowell
Date: Wed, 04 Apr 2001 20:33
Date: Wed, 04 Apr 2001 20:33
47 lines
2188 bytes
2188 bytes
Another possibility is that I can perform whatever updates on the client data set while it is "in place". Is it possible to sort a record set while it is in place, or prior to applying any changes? "mpowell" <mike.powell@transcore.com> wrote in message news:3acb80f0_2@dnews... > > Hello, > > I'd really appreciate an answer to this. Is it possible to reorganize > (perhaps even swap) a record within a data set? The RecNo property isn't > quite what I had in mind, as it seems only to operate on the cursor. I would > like to move the record, not the cursor, within a data set. > > Thanks. > > > "mpowell" <mike.powell@transcore.com> wrote in message > news:3ac4bbb2$1_1@dnews... > > > > I have a record set that I would like to reorder. Is the RecNo property > the > > property that will correctly do so? IOW, If I make any changes to RecNo > will > > the record numbers for the remaining records change accordingly. > > > > For example, say I have the following record set. > > > > NAME; ID; RECNO > > JOHN; 101; 1 > > PAUL; 201; 2 > > RINGO; 301; 3 > > > > Say I change RINGO to RECNO=1. Does this then change JOHN to RECNO=2 and > > PAUL to RECNO=3? Alternately, what happens if I change PAUL to RECNO=3? > What > > precisely is the effect of changing RECNO in this manner? > > > > Thanks in advance. > > > > > > > >
Technical Details
Message-ID:
<3acb867f$1_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnewsReferences:
<3ac4bbb2$1_1@dnews> <3acb80f0_2@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 14:00:07 PST From: "mpowell" <mike.powell@transcore.com> Newsgroups: borland.public.cppbuilder.database.multi-tier References: <3ac4bbb2$1_1@dnews> <3acb80f0_2@dnews> Subject: Re: TClientDataSet RecNo Date: Wed, 4 Apr 2001 14:33:47 -0600 Lines: 49 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: <3acb867f$1_2@dnews> X-Trace: dnews 986416767 198.59.170.194 (4 Apr 2001 13:39:27 -0700) Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews