Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
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.
        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Apr 20, 2024