Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us

Implements a virtual method to retrieve field values from the first record that matches specified search values.

function Lookup(const KeyFields: String; const KeyValues: Variant; const ResultFields: string): Variant; virtual;

This function returns a Variant with the value False, indicating that a matching record was not found.

Descendant classes override this method so that it locates the record where the fields identified by the comma-delimited string KeyFields have the values specified by the Variant or Variant array KeyValues. In classes that implement Lookup, it returns a Variant or Variant array that contains the value or values of the fields specified by the comma-delimited string ResultFields on the specified record.
        © 2003 - 2023 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Feb 05, 2023