[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Refresh the lookup list
Source position: db.pas line 386
public procedure TField.RefreshLookupList; |
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 TField.LookupCache property is set to True.
If the values of the various lookup properties is not correct or the lookup dataset cannot be opened, then an exception will be raised.
|
Dataset with lookup values |
|
|
Names of fields on which to perform a locate |
|
|
Name of field to use as lookup value |