Delphi syntax:
function Locate(const KeyFields: String; const KeyValues: Variant; Options: TLocateOptions
): Boolean;
ex:
Locate('Company;Contact;Phone', VarArrayOf(['Sight Diver', 'P', '408-431-1000']), [loPartialKey]);
type
TLocateOption = (loCaseInsensitive, loPartialKey);