ICachedDataset.Prior

Syntax

Prior;

Description

The Prior method executes transition to the previous record.

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:=4;
    Cache.Prior;
End Sub UserProc;

After executing the example, there is a transition from fifth to fourth record in cache.

See also:

ICachedDataset