Print Thread
Page 1 of 2 1 2
Local sort in TOracleDataSet
#6721 09/06/04 10:04 AM
Joined: Aug 2004
Posts: 83
Ukraine
A
Member
OP Offline
Member
A
Joined: Aug 2004
Posts: 83
Ukraine
Hello!
Will local sort on client (TOracleDataSet) make in latest versions DOA

Re: Local sort in TOracleDataSet
#6722 09/06/04 09:11 PM
Joined: Aug 1999
Posts: 22,221
Member
Offline
Member
Joined: Aug 1999
Posts: 22,221
The current version does not allow you to sort locally. Maybe we can add this in a future release.


Marco Kalter
Allround Automations
Re: Local sort in TOracleDataSet
#6723 03/16/06 01:17 PM
Joined: Aug 2004
Posts: 83
Ukraine
A
Member
OP Offline
Member
A
Joined: Aug 2004
Posts: 83
Ukraine
Hi!
How about local sorting?
==============================================
30-Jun-04 New features in ODAC 5.10
- Local sorting
==============================================
Wbr, Andrey

Re: Local sort in TOracleDataSet
#6724 03/16/06 02:38 PM
Joined: Jul 2003
Posts: 112
Fino Mornasco, Como, Italy
L
Member
Offline
Member
L
Joined: Jul 2003
Posts: 112
Fino Mornasco, Como, Italy
For local sorting to be useful the whole result set must be fetched. If I need it I can simply use a TClientDataset or a memory table.
I do not know if a "do it all" component is the way to go - I think a set of smaller components each designed and optimized for a specific task is a better approach. I prefer the dataset + cds (or memory table) approach then an "overloaded" dataset.


LDS
Re: Local sort in TOracleDataSet
#6725 03/14/07 12:29 PM
Joined: Aug 2004
Posts: 83
Ukraine
A
Member
OP Offline
Member
A
Joined: Aug 2004
Posts: 83
Ukraine
Hi!
It's very simple example for local sorting all records in desc order smile
Code
procedure TRecordDataList.DescSort;
var i : integer;
    p : Pointer;
begin
for i := 0 to Self.Count div 2 do
begin
  p := Self[i];
  Self[i] := Self[Self.Count-1-i];
  Self[Self.Count-1-i] := p;
end;
end;

Re: Local sort in TOracleDataSet
#6726 06/27/07 11:26 PM
Joined: Jun 2006
Posts: 27
Albania, Tirana
A
Member
Offline
Member
A
Joined: Jun 2006
Posts: 27
Albania, Tirana
is there any workaround to bypass this without refetching records ?
Will it soon be anything like toracledataset.sort property ?

regards
Altin

Re: Local sort in TOracleDataSet
altink #37440 03/01/10 09:31 AM
Joined: Aug 2004
Posts: 83
Ukraine
A
Member
OP Offline
Member
A
Joined: Aug 2004
Posts: 83
Ukraine
up

Re: Local sort in TOracleDataSet
Joined: Sep 2004
Posts: 29
Bordeaux (France)
Z
Member
Offline
Member
Z
Joined: Sep 2004
Posts: 29
Bordeaux (France)
Hi, any news about local sort in DOA components without refetching records?

regards,

Zugg

Re: Local sort in TOracleDataSet
Zugg #43622 03/23/12 08:08 AM
Joined: Aug 2009
Posts: 67
S
Member
Offline
Member
S
Joined: Aug 2009
Posts: 67
For developers:
Please add support local sorting in DOA!

Re: Local sort in TOracleDataSet
sinys #43706 04/05/12 06:54 AM
Joined: Aug 2009
Posts: 67
S
Member
Offline
Member
S
Joined: Aug 2009
Posts: 67
to Marco Kalter:
Are you add local sorting in DOA if I have Annual Service Contract?

Last edited by sinys; 04/05/12 06:55 AM.
Re: Local sort in TOracleDataSet
sinys #43707 04/05/12 07:51 AM
Joined: Aug 1999
Posts: 22,221
Member
Offline
Member
Joined: Aug 1999
Posts: 22,221
That is not really what the Annual Service Contract is for smile


Marco Kalter
Allround Automations
Re: Local sort in TOracleDataSet
Marco Kalter #43708 04/05/12 08:45 AM
Joined: Aug 2009
Posts: 67
S
Member
Offline
Member
S
Joined: Aug 2009
Posts: 67
This is a very important opportunity (local sorting in DOA) for us. Give me a hint how to make you to do it. :-)

Re: Local sort in TOracleDataSet
sinys #43715 04/07/12 08:58 PM
Joined: Aug 2004
Posts: 83
Ukraine
A
Member
OP Offline
Member
A
Joined: Aug 2004
Posts: 83
Ukraine
sinys, I buy Annual Service Contract for many years. But... No local sorting is still

Re: Local sort in TOracleDataSet
Joined: Aug 2009
Posts: 67
S
Member
Offline
Member
S
Joined: Aug 2009
Posts: 67
outrage

Re: Local sort in TOracleDataSet
Joined: Aug 2009
Posts: 67
S
Member
Offline
Member
S
Joined: Aug 2009
Posts: 67
[quote=Andrey Maximenko, Ukraine]sinys, I buy Annual Service Contract for many years. But... No local sorting is still [/quote]

Propose to keep the subject in the top until the problem is solved!

Re: Local sort in TOracleDataSet
sinys #43988 05/27/12 07:26 AM
Joined: Aug 2009
Posts: 67
S
Member
Offline
Member
S
Joined: Aug 2009
Posts: 67
up!

Page 1 of 2 1 2

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.058s Queries: 14 (0.014s) Memory: 2.5886 MB (Peak: 3.0430 MB) Data Comp: Off Server Time: 2024-05-20 16:44:43 UTC
Valid HTML 5 and Valid CSS