# \_getTableColumnSum

Adds up all values of a column in a sub-table of the Job.

### Parameters

#### id

The ID of the Job.

#### name

The column to edit. This is in a text form like 'formname.columnname'.

### Example

```
FM_api('Job_getTableColumnSum', ['id' => '222402', 'name' => 'subform.mult1']);
```

### Result

#### On Success

```
{'tableName':'subform','columnName':'mult1','sum':10}
```

#### On Failure

```
{'error':'Could not find table for field entry "subform"'}
```
