Data.DB.TLookupList.ValueOfKey
Delphi
function ValueOfKey(const AKey: Variant): Variant; virtual; abstract;
C++
virtual System::Variant __fastcall ValueOfKey(const System::Variant &AKey) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.DB.pas Data.DB.hpp |
Data.DB | TLookupList |
Description
Returns the lookup value associated with a set of key field values.
Call ValueOfKey to look up the value for a lookup field that has the set of values specified by the AKey parameter on the fields identified by its KeyFields property. AKey is a Variant or Variant array that contains the values on the key fields in the lookup dataset that uniquely specify a lookup field value.