FireDAC.Comp.Client.TFDCustomCommand.AfterFetch

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: event
Visibility: public
Source:
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
Unit: FireDAC.Comp.Client
Parent: TFDCustomCommand

Delphi

property AfterFetch: TNotifyEvent read FAfterFetch write FAfterFetch;

C++

__property System::Classes::TNotifyEvent AfterFetch = {read=FAfterFetch, write=FAfterFetch};

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;

See Also