FireDAC.Comp.Client.TFDCustomCommand.AfterFetch

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

property AfterFetch: TNotifyEvent read FAfterFetch write FAfterFetch;

C++

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

Propriétés

Type Visibilité  Source Unité  Parent
event public
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDCustomCommand

Description

Cet événement se déclenche après la récupération à partir du curseur de la commande.

L'événement AfterFetch se déclenche après la récupération des lignes du curseur de commande obtenue en appelant la méthode Fetch.

Exemple

 
 procedure TForm1.ADCommand1AfterFetch(ASender: TObject);
 begin
   StatusBar1.SimpleText := Format('%d rows fetched', [ADCommand1.RowsAffected]);
 end;

Voir aussi