No one replied - but I managed to figure it out ...
for those interested:
In the VCL, if the DataSet is Empty (IsEmpty =
True) the AggregateField is never evaluated - Null is returned.
TAggregateFields are untyped (variant) unlike
Calculated Fields which are typed.
When thought about - the TAggregateField is a
"Field" belonging to a "Record" - how can one have a field without a
record.
Regards
Paul McKenzie Analyst Programmer SMSS ltd.
|
- [DUG]: TAggregateField Paul McKenzie
- Re: [DUG]: TAggregateField Paul Mckenzie
- Re: [DUG]: TAggregateField Neven MacEwan
- Re: [DUG]: TAggregateField Paul Mckenzie
- Re: [DUG]: TAggregateField Neven MacEwan
- Re: [DUG]: TAggregateField Paul Mckenzie