IRubricatorValidationsLookup.Open

Syntax

Open(Options: DictionaryCursorOptions);

Parameters

Options - cursor opening parameter.

Description

The Open method opens the cursor allowing to navigate through data.

Example

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

Sub Main;

Var

MB: IMetabase;

RubInst: IRubricatorInstance;

Loo: IRubricatorValidationsLookup;

Begin

MB := MetabaseClass.Active;

RubInst := mb.ItemById("OBJ_RUBRICATOR").Open(Null) As IRubricatorInstance;

Loo := RubInst.CreateValidationsLookup;

Loo.Open(DictionaryCursorOptions.None);

While Loo.Eof = False Do

Debug.WriteLine("Validation execution key" + Loo.Current.Key.ToString +" ; Validation key" + Loo.Current.ValidationKey.ToString);

Loo.Next;

End While;

Loo.Close;

End Sub Main;

After executing the example information about validations execution is displayed in the console window.

See also:

IRubricatorValidationsLookup