Eof: Boolean;
The Eof method returns whether the current record is the last.
The method returns True if the cursor is on the last record, and False if data end is not reached yet.
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(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 UserProc;
After executing the example information about validations execution is displayed in the console window.
See also: