> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/job/_gettablecolumnsum.md).

# \_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"'}
```
