Show contents 

Db > Db Assembly Interfaces > ICachedDataset > ICachedDataset.Append

ICachedDataset.Append

Syntax

Append;

Description

The Append method adds a record into the end of the table 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.Append;
    Cache.Post;
    Cache.Close;
    DSInst.Close;

End Sub UserProc;

After executing the example, record is added into the end of the table.

See also:

ICachedDataset