Главная страница | назад





Article #15202: Sorting on Calculated fields

 Question and Answer Database
FAQ202D.txt Sorting on Calculated fields
Category :DCOM/MultiTier/ActiveForm
Platform :All
Product :Delphi 3.x
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.
7/16/98 4:31:28 PM

Last Modified: 01-SEP-99