Sorting by calculated field does not work
Posted: 15.01.2024, 07:39
Sorting does not work when creating the calculated qty: TFloatField field in TZQuery.
FieldName := FixFieldName('qty') + ' Desc'; TZAbstractRODataset(ADataSet).SortedFields:=FieldName;
An error appears.
FieldName := FixFieldName('qty') + ' Desc'; TZAbstractRODataset(ADataSet).SortedFields:=FieldName;
An error appears.