Online Documentation for Advanced Data Export for RAD Studio VCL




procedure Execute;



The Execute method executes the export of source data to file. In case of the invocation, the function checks if the FileName and ExportSource (and the corresponding DataSet, DBGrid, ListView or StringGrid) properties are correct; in case of an error, the exceptions are raised and the method stops executing, returning false as a result. If all the required properties are set correctly, the method starts its work with generating the OnBeginExport event. Then the data export to file begins, and after the export of each record the event OnExportedRecord event takes place. On completion of the process, the event OnEndExport is invoked.


See also:

OnBeginExport event