IRubricatorValidationsLookup.Eof

Syntax

Eof: Boolean;

Description

The Eof method returns whether the current record is the last.

Comments

The method returns True if the cursor is on the last record, and False if 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 UserProc;
Var
    MB: IMetabase;
    RubInst: IRubricatorInstance;
    Loo: IRubricatorValidationsLookup;
Begin
    MB := MetabaseClass.Active;
    RubInst := MB.ItemById("OBJ_RUBRICATOR").Open(NullAs 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 UserProc;

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

See also:

IRubricatorValidationsLookup