Advantage TDataSet Descendant
Positions the given table to the first record.
procedure AdsGotoTop;
If no index has been set, the table is positioned at the top of its natural order. The record on which it positions is the first record starting from record 1 that satisfies current filter conditions. If an index is set, the table is positioned at the top of the current logical order, obeying both current filters and scopes.
AdsTable1.Active := TRUE;
AdsTable1.AdsGotoTop;
{ note that this method is identical to the native Delphi method First }