EasyTable: Single-File Embedded BDE Replacement
Database for Delphi and C++Builder


TDataSet.Eof
TDataSet
Top 

Indicates whether or not a cursor is positioned at the last record in a dataset.

property Eof: Boolean;

Description
Test Eof (end-of-file) to determine if the cursor is positioned at the last record in a dataset. If Eof is True, the cursor is unequivocally on the last row in the dataset. Eof is True when an application:

Opens an empty dataset.
   Calls a dataset's Last method.
   Call a dataset's Next method, and the method fails (because the cursor is already on the last row in the dataset).
   Calls SetRange on an empty range or dataset.

Eof is False in all other cases.

Tip:   If both Eof and Bof are True, the dataset or range is empty.


© AidAim Software EasyTable: Easytable Ben Delphi Database Single File Bde Replacemen