Online Documentation for Advanced Excel Report for RAD Studio
OnDataEof event
Applies to
TEXLReport component
Declaration
property OnDataEof: TEXLReportCheckEofEvent;
TEXLReportCheckEofEvent = procedure(Sender: TObject; var Eof: Boolean) of object;
Description
Use the OnDataEof event if you build report from the data source different from the TDataSet descendant to define the condition of finishing the report building. The OnDataEof event takes place before writing each data row to the report, and checks the value of the Eof parameter. If it is true, the report building terminates.
See also: