Hi there,
I'm missing aggregat functions for use in events (e.g. BeforePrintEvent of group headers/footers). Of course, I can summerize vars in databands and then use the result in group headers/footers but it would be much more easier if I could use aggregat functions
Thank you,
Markus
Request: Aggregat functions for use in events
Request: Aggregat functions for use in events
Yes, you can't use aggregate functions in events at this moment, but you can use result of aggregate function calculation. For each totals report engine create in report code field. For example, if you use function Sum in component Text1 then in report code you can see following field:
After then you can get result of calculation in event:
Thank you.
Code: Select all
public Stimulsoft.Report.Dictionary.StiSumDecimalFunctionService Text1_Sum;
Code: Select all
decimal value = (decimal)Text1_Sum.GetValue();
Request: Aggregat functions for use in events
A set of functions for calculation of the total in events, scripts and expressions.
Following lines shows how functions can be called:
Totals.Sum(YourDataSource, expression),
Totals.Sum(YourDataBand, expression).
Functions can be passed as the DataBand and GroupHeaderBand argument.
Functions available in build start from 29, Jan.
Thank you.
Following lines shows how functions can be called:
Totals.Sum(YourDataSource, expression),
Totals.Sum(YourDataBand, expression).
Functions can be passed as the DataBand and GroupHeaderBand argument.
Functions available in build start from 29, Jan.
Thank you.