> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DataSetTableRecords Object (IDataSetTableRecords Interface)

This object represents the collection of records (rows) stored in the data set table.

## Properties

| **Name** | **Type** | **Description** |
| - | - | - |
| [**Count**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/count.md) | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Stores the number of elements in the collection. |
| [**Element**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/element.md) | [**DataSetTableRecord**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/datasettablerecord.md), [read-only](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | Provides access to a single element of the collection. |

## Methods

| **Name** | **Description** |
| - | - |
| [**AddNew**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/datasettablerecords-addnew.md) | Adds a new record to the data set. |
| [**Commit**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/datasettablerecords-commit.md) | Commits all the changes you made to the records since the previous commit. The changes will be finally saved to the Document Definition only after the [**CheckIn**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/documentdefinitions-checkin.md) method call. |
| [**DeleteAll**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/deleteall.md) | Removes all the elements from the collection. |
| [**DeleteAt**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/deleteat.md) | Removes an element from the collection. |
| [**Item**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/item.md) | Provides access to a single element of the collection. |
| [**LookUp**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/datasettablerecords-lookup.md) | Searches the data set. |
| [**UpdateFromDB**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/datasettablerecords-updatefromdb.md) | Resets table records to the state of the remote database. |

## Related objects

![](https://mintcdn.com/abbyy/89WLEbAVqQ-ysQEU/images/flexi-capture/sdk/DataSetTableRecords.gif?s=669870aab960abe9ab10e379a5dd1553)

## Samples

This object is used in the following code samples: [Invoices Processing and Training](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/samples.md#invoicesprocessingandtraining).

## See also

[**DataSetTableRecord**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/datasettablerecord.md)

[Working with Collections](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/collections.md)

[Working with Properties](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md)
