Calculation of totals of a page and of a container
It is very simple to calculate totals of a container or a page. You should write in lower case the Latin c before an aggregate function name. For example:
{cCount(DataBand1)}
- this expression will return the number of strings of one page.
Notice. A page is a container too. Therefore calculation of totals of a page goes on the same way as calculation of totals of a container.
When calculation of totals of a container or of a page you should specify the Data band by which the aggregate function will be calculated. This is necessary because more than one Data band can be located on one page.
Notice. For calculation of an aggregate function of a container you should write in lower case the Latin c before an aggregate function name.
On one page or a container you may use any number of aggregate functions. StimulReport.Net has no limit in it. You can combine totals of a page with a condition. For example:
{CountIf(DataBand1, Products.UnitsInStock = 0)}
- this expression will return the number of elements equal in zero on this page.