[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'DB' (#fcl)


Available options when locating a record in a dataset


Source position: db.pas line 1379

type TLocateOption = (



Perform a case-insensitive search



Accept partial key matches for string fields



TLocateOption is used in the TDataset.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



Locate a record based on some key values



Options to use when locating a record in a dataset

Documentation generated on: May 14 2021