ClientDataset: Sort On-The-Fly calculated field

ClientDataset: Sort On-The-Fly calculated field

Post by Willi Kni » Sun, 19 Oct 2003 20:39:53


D7, IB

Hi,
I work with TClientdataset and show the data in a DBGrid.
It's possible to sort the data On-the-fly with IndexFieldName (only
ascending), or with Indexname (ascending or descending) by creating Indexes
at design time. This works fine.

But: How can I do the same for calculated fields?

Thanks for any ideas

Willi
 
 
 

ClientDataset: Sort On-The-Fly calculated field

Post by Bill Tod » Sun, 19 Oct 2003 23:02:20

On Sat, 18 Oct 2003 13:39:53 +0200, "Willi Knis"



Use an internal calculated field.

Bill (TeamB)
(TeamB cannot respond to questions received via email)

 
 
 

ClientDataset: Sort On-The-Fly calculated field

Post by Willi Kni » Tue, 21 Oct 2003 15:47:57

Thanks a lot, Bill,
this works.


Willi



"Bill Todd" < XXXX@XXXXX.COM > schrieb im Newsbeitrag