Aggreed, design limitation. It would be nice to be
able to have a TAggregateField of a type eg TIntegerField, TStringField,
etc...
The null is returned because TAggregateField is a type Variant not an IntegerField (the
expression - which could be anything is never evaluated!).
There are no records - thus expression of the
Aggregate Field is not evaluated (I think, I considers no records = no
data for evaluation)
I have converted to a Calculated Field, I can make
it an IintegerField.
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