Prior;
The Prior method executes transition to the previous record.
Sub UserProc;
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 UserProc;
After executing the example, there is a transition from fifth to fourth record in cache.
See also: