5.6 Designer does not support Aggregate function for Typedlist fields?

Posts: 6
Joined: 30-Dec-2019
# Posted on: 09-Jan-2020 05:10:40   


I just upgraded from 2.6 to 5.6 and the Typedlist editor does not allow me to assign Aggregate function to the field as I did on 2.6?



daelmo avatar
Support Team
Posts: 8152
Joined: 28-Nov-2005
# Posted on: 09-Jan-2020 05:54:13   

Hi Rogelio,

As a matter of fact, the feature was removed on v4.2 (ref...):

Documentation wrote:

Typed list editor no longer shows the aggregate function column on fields. The aggregate function column is now hidden. It didn't make sense for all other frameworks but our own and even for our own framework it's not that useful: the aggregate function often returns a different type than the one it is placed on, and there was no way to specify the type (which is undefined at design time, as an aggregate function can return different kinds of types depending on which database it is run). In the future the feature will be redesigned if needed.

I recommend you to use TypedView, or any of the runtime/dynamic ways: Linq, QuerySpec, Low Level API.

Posts: 6
Joined: 30-Dec-2019
# Posted on: 09-Jan-2020 06:40:22