[View Borland Home Page][View Product List][Search This Web Site][View Available Downloads][Join Borland Online][Enter Discussion Area][Send Email To Webmaster]
Delphi Devsupport

Frequently Asked Questions

Sorting on Calculated fields

Question:

How do you make TClientDataSet sort on lookup or calculated

fields?

Answer:

In the fields editor, when creating a new field to be sorted

on, choose New Field from the context menu and choose

InternalCalc as the field type.  Or if creating TFields in

code, make the TField.FieldKind fkInternalCalc instead of

fkCalc. fkInternalCalc is only available in ClientDataSets.

Back To Faq Index
Borland Online
Trademarks & Copyright © 1997 Borland International, Inc.