IRubricatorInstance.CreateFactsLookupEx

Syntax

CreateFactsLookupEx(ExcludeGroup: Boolean): IRubricatorFactsLookup;

Parameters

ExcludeGroup. Indicates whether dummy indicators are excluded from search.

Description

The CreateFactsLookupEx method creates an object that searches for the indicators excluding dummy indicators.

Comments

If the ExcludeGroup parameter is set to True, dummy indicators are excluded from search (indicators that belong to group attributes). If the ExcludeGroup parameter is set to False, the CreateFactsLookupEx method is displayed in the same way with the CreateFactsLookup method.

Example

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

Sub UserProc;
Var
    Mb: IMetabase;
    RubInst: IRubricatorInstance;
    Lookup: IRubricatorFactsLookup;
    Factors: Array Of Integer;
Begin
    Mb := MetabaseClass.Active;
    RubInst := Mb.ItemById("OBJ_RUBRICATOR").Open(NullAs IRubricatorInstance;
    Lookup := RubInst.CreateFactsLookupEx(True);
    Factors := Lookup.LookupFactors;
    Debug.WriteLine(Indicators found:  + Factors.Length.ToString);
End Sub UserProc;

On executing the example the search with excluding of dummy indicators is executed. The number of indicators found is displayed in the development environment console.

See also:

IRubricatorInstance