Sign in Join
FPDoc Onlineexperiment

TLocateOption enumeration

In unit DB

Available options when locating a record in a dataset.

Declaration

pascal
TLocateOption = (loCaseInsensitive,loPartialKey)

Description

TLocateOption is used in the Locate call to enumerate the possible options available when locating a record in the dataset.

For string-type fields, this option indicates that fields starting with the search value are considered a match. For other fields (e.g. integer, date/time), this option is ignored and only equal field values are considered a match.

See also

Values

loCaseInsensitivePerform a case-insensitive search.
loPartialKeyAccept partial key matches for string fields.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.