Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomMemData.Locate(string,Variant,TLocateOptions) Method

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
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