DriveWorks Solo 18: SumTableColumn [send feedback...]


Returns the sum of the values in the specified column of the specified table (the values in the first row are treated as header values and are included).


SumTableColumn([Table or Table Name], [Column Index Number])


Table or Table Name is the name of the Table that contains the column.

Column Index Number is the index number of the column to sum.



SumTableColumn(DWLookupData,2)Will add all the values in column 2 of the Data table.


The name of any table added to DriveWorks will be DWLookup followed by the name of the table as it appears in the define tables task.

DriveWorks also treats Child Specification List controls as tables. To refer to this type of table use DWSubResults followed by the name of the Child Specification list control.

Table of Contents