AnyDAC
ContentsIndexHome
PreviousUpNext
TADFetchOptions.LiveWindowMode Property

Controls the TADTable live data window mode.

Group
Links

Use the LiveWindowMode property to setup the TADTable live data window mode. 

In general, AnyDAC to maintain live data window is performing different SQL queries. That may affect the application performance. To improve it, some operations may be avoided for the price of less strict maintenance. When LiveWindowMode = wmApproximate (default value), then TADTable will avoid:

  • SELECT COUNT(*) SQL query to calculate the RecNo property value. Instead -1 will be returned.
  • SELECT SQL query for Locate and Lookup methods, when a locating record is found in local cache.

Note, that LiveWindowMode property is used only when TADTable is operating in the live data window mode. It is not used in standard mode.

property LiveWindowMode: TADLiveWindowMode;
What do you think about this topic? Send feedback!