ICachedDataset.Prior

Syntax

Prior;

Description

The Prior method executes transition to the previous record.

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:=4;

Cache.Prior;

End Sub Main;

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

See also:

ICachedDataset