| Function group | Execute on client | Platform(s) |
| List | NO | All |
totc([listname,]expression)
Returns the total of an expression evaluated for a list specified by listname.
If the listname argument is not specified the current list is used. This function does not work for table based lists.
This is a more general version of the tot() function. The expression is totaled for the lines in the specified list.
# If list lList contains field lCol1, the sum of the squares of all values of lCol1 in the list is:
CalculatelResultastotc(lList,lCol1*lCol1)