ICachedDataset.Insert

Syntax

Insert;

Description

The Insert method inserts record into a current position and starts its editing.

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.Insert;

Cache.Post;

End Sub Main;

After executing the example, record is added in the first position.

See also:

ICachedDataset