Data.DB.TLocateOptions

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
set
typedef
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: Data.DB

Delphi

TLocateOptions = set of TLocateOption;

C++

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

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