Data.DB.TLocateOptions

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TLocateOptions = set of TLocateOption;

C++

typedef System::Set<TLocateOption, TLocateOption::loCaseInsensitive, TLocateOption::loPartialKey> TLocateOptions;

Properties

Type Visibility Source Unit Parent
set
typedef
public
Data.DB.pas
Data.DB.hpp
Data.DB Data.DB

Description

TLocateOptions defines the values for the Options parameter of the Locate method of a dataset.

TLocateOptions is the type of the Options parameter to a dataset's Locate method. The following table lists the possible values:



Value Description

loCaseInsensitive

Key fields and key values are matched without regard to case.

loPartialKey

Key values can include only part of the matching key field value; for example, 'HAM' would match both 'HAMM' and 'HAMMER.'