FireDAC.Comp.Client.TFDCustomCommand.AfterFetch
Delphi
property AfterFetch: TNotifyEvent read FAfterFetch write FAfterFetch;
C++
__property System::Classes::TNotifyEvent AfterFetch = {read=FAfterFetch, write=FAfterFetch};
Contents
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDCustomCommand |
Description
This event fires after fetching from the command cursor.
The AfterFetch event fires after the rows are fetched from the command cursor by calling the Fetch method.
Example
procedure TForm1.ADCommand1AfterFetch(ASender: TObject);
begin
StatusBar1.SimpleText := Format('%d rows fetched', [ADCommand1.RowsAffected]);
end;