[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'DB' (#fcl)

# TField.LookupCache

Should lookup values be cached

## Declaration

Source position: db.pas line 454

`published property TField.LookupCache : Boolean read FLookupCache write FLookupCache;`

## Description

LookupCache is by default False. If it is set to True then a list of key, value pairs will be created from the LookupKeyFields in the dataset pointed to by the LookupDataset property. The list of key, value pairs is available through the TField.LookupList property.

## See also

LookupKeyFields |  | Names of fields on which to perform a locate
LookupDataset |  | Dataset with lookup values
TField.LookupList |  | List of lookup values

Documentation generated on: May 14 2021