CalcBuilder Forum

sections to calculate an average

User chm 2019-06-21 09:59:04

hello i need the number of sections to calculate an average, how do i code it?
Thanks for the help

Moonsoft support 2019-06-21 11:24:41


You can get the number of sections, getting the number of occurrences of any field on this section. I.e., if you have a field with variable name 'myfieldinsidesection', you can use this in code section:


so, $numsections is the number of sections.


List Manager

Build different lists for your site

Buy now!
Support/development 10 hours

Get a bigger amount of hours for more complex tasks and get a 10% discount

Buy now!