IRubricatorDictionaryLookup.WhereIsDeleted

Syntax

WhereIsDeleted: TriState;

Description

The WhereIsDeleted property determines whether deleted records are used in search.

Comments

Available values:

Example

Executing the example requires that the repository contains a time series database with the OBJ_RUBRICATOR identifier.

Sub UserProc;
Var
    MB: IMetabase;
    RubDesc: IMetabaseObjectDescriptor;
    Factors: Array Of Integer;
    RubrIn: IRubricatorInstance;
    FactsLookup: IRubricatorFactsLookup;
    i: Integer;
Begin
    MB := MetabaseClass.Active;
    RubDesc := MB.ItemById("OBJ_RUBRICATOR");
    RubrIn := RubDesc.Open(NullAs IRubricatorInstance;
    FactsLookup := RubrIn.CreateFactsLookup;
    FactsLookup.WhereIsDeleted := TriState.OnOption;
    Factors := FactsLookup.LookupFactors;
    For i := 0 To Factors.Length - 1 Do
        Debug.WriteLine(Factors[i]);
    End For;
End Sub UserProc;

After executing the example keys of deleted indicators are displayed in the console window.

See also:

IRubricatorDictionaryLookup