ICachedDataset.RecNo

Syntax

RecNo: Integer;

Description

The RecNo property determines a index of the record on which the cursor is set in cache.

Example

Sub Main;

Var

MB: IMetabase;

DSInst: IDatasetInstance;

Cache: ICachedDataset;

Begin

MB:=MetabaseClass.Active;

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

Cache:=DSInst.OpenCached;

Cache.RecNo:=2;

End Sub Main;

After executing the example, the cursor in cache is set on the third record.

See also:

ICachedDataset