ICachedDataset.Delete

Syntax

Delete;

Description

The Delete method deletes current record.

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

End Sub Main;

After executing the example, the first record in the data source table is removed.

See also:

ICachedDataset