Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
TDataSet.Lookup
TDataSet
Top 


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;

Description
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 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Dec 22, 2024