IRubricatorValidationsLookup.Eof

Syntax

Eof: Boolean;

Description

The Eof method returns whether the current record is the last one. True - cursor is on the last record, False - data end is not reached yet.

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