DeleteFacts(FactorKeys: Array);
FactorKeys. Array of indicators keys.
The DeleteFacts method removes indicators with the specified keys from the time series database.
The FactorKeys parameter must be an integer array.
Executing the example requires a time series database with the OBJ_RUBRICATOR identifier. The database must contain indicators with the 10023 and 10025 keys.
Add links to the Cubes and Metabase system assemblies.
Sub UserProc;
Var
Mb: IMetabase;
RubInst: IRubricatorInstance;
FactorKeys: Array Of Integer;
Begin
Mb := MetabaseClass.Active;
RubInst := Mb.ItemById("OBJ_RUBRICATOR").Open(Null) As IRubricatorInstance;
FactorKeys := New Integer[2];
FactorKeys[0] := 10023;
FactorKeys[1] := 10025;
RubInst.DeleteFacts(FactorKeys);
End Sub UserProc;
After executing the example the indicators with the specified keys are removed from the database.
See also: