Declaration¶
Source position: db.pas line 273
type
TLookupList = class(TObject)
public
constructor Create;
destructor Destroy;
procedure Add;
procedure Clear;
function FirstKeyByValue : Variant;
function ValueOfKey : Variant;
procedure ValuesToStrings;
end;
Inheritance¶
Description¶
TLookupList is a list object used for storing values of lookup operations by lookup fields. There should be no need to create an instance of TLookupList manually, the TField instance will create an instance of TlookupList on demand.
Methods¶
| Member | Visibility | Description |
|---|---|---|
| Add | public | Add a key, value pair to the list. |
| Clear | public | Remove all key, value pairs from the list. |
| Create | public | Create a new instance of TLookupList. |
| Destroy | public | Free a TLookupList instance from memory. |
| FirstKeyByValue | public | Find the first key that matches a value. |
| ValueOfKey | public | Look up value based on a key. |
| ValuesToStrings | public | Convert values to stringlist. |
See also¶
| Name | Description |
|---|---|
| TField.LookupCache | Should lookup values be cached. |