Sign in Join
FPDoc Onlineexperiment

TField.RefreshLookupList procedure

Member of TFieldpublicIn unit DB

Refresh the lookup list.

Declaration

pascal
procedure RefreshLookupList

Description

RefreshLookupList fills the lookup list for a lookup fields with all key, value pairs found in the lookup dataset. It will open the lookup dataset if needed. The lookup list is only used if the LookupCache property is set to True.

Errors

If the values of the various lookup properties is not correct or the lookup dataset cannot be opened, then an exception will be raised.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.