Accuracer: The First And Only Cross-Platform BDE Replacement
Client-Server Single-File Embedded Database with SQL for Delphi / C++Builder / Kylix


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 Accuracer: Client-server Database Single-file Database Delphi Database Embedded Databas