IRubricatorRecord.Record

Syntax

Record: IMetaDataMemberRecord;

Description

The Record property returns record data.

Example

Executing the example requires that the repository contains a time series database with the OBJ_RUBRICATOR identifier that includes a factor with the 1 key.

Sub Main;

Var

MB: IMetabase;

RubDesc: IMetabaseObjectDescriptor;

RubrIn: IRubricatorInstance;

FactD: IRubricatorFactData;

Record: IRubricatorRecord;

a: Array;

i: Integer;

Begin

MB := MetabaseClass.Active;

RubDesc := MB.ItemById("OBJ_RUBRICATOR");

RubrIn := RubDesc.Open(Null) As IRubricatorInstance;

FactD := RubrIn.GetFactData(1);

Record := FactD As IRubricatorRecord;

a := Record.Record.Value As Array;

If a <> Null Then

For i := 0 To a.Length - 1 Do

Debug.WriteLine(a[i] As String);

End For;

End If;

End Sub Main;

After executing the example the console window displays data of the record that contains information on the factor with the 1 key.

See also:

IRubricatorRecord