, , . . , (. 3).
TDataset , . .
3. ,
, , .
TDataSet
TDataSet . , , .
TDataSet . . , TDataSet . , .
property Active: Boolean;
True False.
procedure Open;
procedure Close;
.
procedure Next;
procedure Prior;
,
procedure First;
procedure Last;
, ,
property Eof: Boolean;
True.
property Bof: Boolean;
function MoveBy(Distance: Integer): Integer;
Distance . , .
.
procedure DisableControls;
procedure EnableControls;
property RecordCount: Integer;
, . . , . , ( ),
function IsEmpty: Boolean;
True, , Bof Eof. True.
if MyTable.Bof and MyTable.Eof then
ShowMessage(' ');
...
, .
MyTable.First; //
While not MyTable.Eof do Begin //
// ,
.
MyTable.Next; //
End;