Data.DB.TLocateOption

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

TLocateOption = (loCaseInsensitive, loPartialKey);

C++

enum DECLSPEC_DENUM TLocateOption : unsigned char { loCaseInsensitive, loPartialKey };

Description

TLocateOption defines the values for the Options parameter of a dataset's Locate method.

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



Value Description

loCaseInsensitive

Key fields and key values are matched case-insensitively.

loPartialKey

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