CdbRecordset::SetCacheSize, GetCacheSize Property

Sets or returns the number of records retrieved from an ODBC data source that will be cached locally.

Settings and Return Values

The setting or return value must be between 5 and 1200, but not greater than available memory will allow. A typical value is 100. A setting of 0 turns off caching.

Syntax

VOIDSetCacheSize(LONG l);

LONGGetCacheSize(VOID);

Set Parameters

Type Example Description
LONG l A Long which specifies the number of records that will be cached locally.