Insert;
The Insert method inserts record into a current position and starts its editing.
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.Insert;
Cache.Post;
End Sub UserProc;
After executing the example, record is added in the first position.
See also: