> ## 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.

# Find Method of the FieldsExtractionTrainingBatches Object

This method allows you to find the training batch in the collection by the section for which it was created. If you are working with a FlexiCapture invoice project, you will need also to specify the name of the vendor.

## Syntax

```vb Visual Basic .NET theme={null}
Function Find( _
    Section As SectionDefinition, _
    Record As DataSetTableRecord _
  )    As FieldsExtractionTrainingBatch
```

```cpp C++ theme={null}
HRESULT Find(
  ISectionDefinition*              Section,
  IDataSetTableRecord*             Record,
  IFieldsExtractionTrainingBatch** Result
);
```

## Parameters

**Section**

\[in] The [**SectionDefinition**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/sectiondefinition.md) object representing the section of a Document Definition for which the batch was created. This parameter is required.

**Record**

\[in] The [**DataSetTableRecord**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/datasettablerecord.md) object specifying a record in the data set for which the batch was created.

**Result**

\[out, retval] A pointer to the **IFieldsExtractionTrainingBatch\*** object that receives the interface pointer of the [**IFieldsExtractionTrainingBatch**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/fieldsextractiontrainingbatch.md) object. Returns NULL if no batch has been found.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FlexiCapture SDK functions](https://docs.abbyy.com/flexi-capture/sdk/api-reference/errorcodes.md).

## See also

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

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