ICachedDataset.Insert

Syntax

Insert;

Description

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

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.Insert;
    Cache.Post;
End Sub UserProc;

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

See also:

ICachedDataset