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

# LookUp Method of the VendorRecords Object

This method returns the results of a full-text search in the vendor database. The search string can include company name or address.

## Syntax

```vb Visual Basic .NET theme={null}
Function LookUp(Query As String) As LookUpResult
```

```cpp C++ theme={null}
HRESULT LookUp(
  BSTR             Query,
  ILookUpResult**  Result
);
```

## Parameters

**Query**

\[in] A search string with the company name or address.

**Result**

\[out, retval] A pointer to **ILookUpResult\*** pointer variable that receives the interface pointer of the output [**LookUpResult**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/lookupresult.md) object.

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

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