TdxCustomMemData.Locate(string,Variant,TLocateOptions) Method
In This Article
Searches the KeyValues values in the KeyFields fields.
#Declaration
Delphi
function Locate(const KeyFields: string; const KeyValues: Variant; Options: TLocateOptions): Boolean; override;
#Parameters
Name | Type |
---|---|
Key |
string |
Key |
Variant |
Options | TLocate |
#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