True DataControl 8.0 Reference > True DataControl Control > TData Control Properties > CacheSize Property |
CacheSize Property
Returns/sets the number of rows to keep cached navigating through the recordset.
TData.CacheSize = long
Read/Write at run time and design time. Property applies to TData control.
This property indicates the number of records from a recordset object that are cached locally in memory. Default is 50. This is a standard ADO recordset property. It applies to the TData control’s Recordset. In data source mode, it also applies to the SourceRecordset created by the TData control. This property can be set at any time during the control’s lifetime.
Note: At design time, this property is not available in property pages and must be set in the Visual Basic Properties window.
See Also