void __fastcall Last();
Moves to the last record in the dataset.
Call Last to make the last record in the dataset active. If the dataset is not unidirectional Last posts any changes to the active record and
Clears the record buffers.
Fetches the last record and makes it the active record.
Fetches any additional records required for display, such as those needed to fill out a grid control.
Sets the Eof property to true.
Broadcasts the record change so that data controls and linked detail sets can update.
For unidirectional datasets, Last raises an EDatabaseError exception.
Note: TDataSet uses internal, protected methods to reposition the active record and to fetch additional records required for display. In TDataSet, these internal methods are empty stubs. Descendant classes implement these methods to enable the Last method to work.