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 UserProc;
Var
    MB: IMetabase;
    DSInst: IDatasetInstance;
    Cache: ICachedDataset;
Begin
    MB:=MetabaseClass.Active;
    DSInst:=MB.ItemById("Table_1").Open(NullAs IDatasetInstance;
    Cache:=DSInst.OpenCached;
    Cache.RecNo:=2;
End Sub UserProc;

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

See also:

ICachedDataset