ICachedDataset.RecordCount

Syntax

RecordCount: Integer;

Description

The RecordCount property returns the current quantity of cached records.

Example

Sub Main;

Var

MB: IMetabase;

DSInst: IDatasetInstance;

Cache: ICachedDataset;

i: Integer;

Begin

MB:=MetabaseClass.Active;

DSInst:=MB.ItemById("Table_1").Open(Null) As IDatasetInstance;

Cache:=DSInst.OpenCached;

i:=Cache.RecordCount;

End Sub Main;

After executing the example the "i" variable contains current quantity of cached records.

See also:

ICachedDataset