IRubricatorFactData.Factor

Syntax

Factor: IRubricatorFactor;

Description

The Factor property returns the time series, to which the data belongs.

Example

Executing the example requires a time series database with the OBJ_RUBRICATOR identifier. This database contains a time series with the mnemonic Albania|BCA|Years.

Sub Main;

Var

MB: IMetabase;

RubrIn: IRubricatorInstance;

FactD: IRubricatorFactData;

RubFactor: IRubricatorFactor;

Begin

MB := MetabaseClass.Active;

RubrIn := MB.ItemById("OBJ_RUBRICATOR").Open(Null) As IRubricatorInstance;

FactD := RubrIn.GetFactDataByMnemo("Albania|BCA|Years");

Debug.WriteLine("Revision name:" + FactD.Revision.Name);

RubFactor := FactD.Factor;

Debug.WriteLine("Factor key:" + RubFactor.Factor.ToString);

End Sub Main;

After executing the example information about time series with the Albania|BCA|Years mnemonic is displayed in the console window.

See also:

IRubricatorFactData