SQLMemTable: BDE Alternative Embedded
In-Memory Database with SQL for Delphi / C++Builder


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.

© AidAim Software SQLMemTable: