Delete;
The Delete method deletes current record.
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.Delete;
End Sub UserProc;
After executing the example, the first record in the data source table is removed.
See also: