eof property

bool get eof

True after navigation reaches or lands on the end of the dataset.

Empty datasets are EOF. For non-empty datasets, EOF is set when navigation reaches the logical end boundary while keeping the cursor on the last real record. This includes next from the last visible record, last, and moveToRecord with recordCount + 1. The classic while (!dataSet.eof) { ... dataSet.next(); } loop still processes the last row and leaves recordNumber on the last record number.

Implementation

bool get eof => recordCount == 0 || _cursorCoordinator.eof;