Skip to main content

TdxCustomMemData.Locate(string,Variant,TLocateOptions) Method

Searches the KeyValues values in the KeyFields fields.

Declaration

function Locate(const KeyFields: string; const KeyValues: Variant; Options: TLocateOptions): Boolean; override;

Parameters

Name Type
KeyFields string
KeyValues Variant
Options TLocateOptions

Returns

Type
Boolean

Remarks

The Locate method returns True if a record is found that matches the KeyFields and KeyValues search criteria.

The KeyFields parameter specifies record fields where the KeyValues values will be searched;

The KeyValues parameter specifies the values to be searched;

The Options parameter specifies whether the search is case sensitive and whether the partial matching is available.

See Also