How to get aggregate value in TVirtualTable?
Posted: Thu 08 Oct 2009 01:15
I tried adding a TAggregateField in a vt dataset and it wasn't allowed (invalid FieldKind error).
I have tried going through all the records in OnCalcFields event but it goes through infinite recursion even if I set AutoCalcFields:=false and use an external variable.
I tried to assign the dataset to a clientdataset, but it wasn't allowed either.
What to do?
I have tried going through all the records in OnCalcFields event but it goes through infinite recursion even if I set AutoCalcFields:=false and use an external variable.
I tried to assign the dataset to a clientdataset, but it wasn't allowed either.
What to do?