Summation by condition
Posted: Fri Jun 02, 2023 11:36 am
Hi,
I created xBrowse with FOOTER clause. And he pointed out
Then, using oBrw:MakeTotals, it is possible to perform summation according to these columns.
Is it possible to perform summation not on all lines, but on some condition ?
I created xBrowse with FOOTER clause. And he pointed out
- Code: Select all Expand view
- oBrw:aCols[1]:nFooterType:=AGGR_SUM
........................................................
oBrw:aCols[n]:nFooterType:=AGGR_SUM
Then, using oBrw:MakeTotals, it is possible to perform summation according to these columns.
Is it possible to perform summation not on all lines, but on some condition ?