report progress

How can I track the progress of a report to update a progress bar?

Hi,

You need to run the report from a different thread, and you can use  
http://www.tmssoftware.biz/flexcel/doc/vcl/api/FlexCel.Report/TFlexCelReport/Progress.html 
 and http://www.tmssoftware.biz/flexcel/doc/vcl/api/FlexCel.Report/TFlexCelReport/Cancel.html
to see the progress or cancel the report.

We don't currently have an example using FlexCelReport, but you can look at http://www.tmssoftware.biz/flexcel/doc/vcl/samples/delphi/printing-and-exporting/custompreview/index.html for an example on how to do it for a pdf exporting (when you press export to pdf in that example you will see that it doesn't block the main app and it allows to see progress and canceling it). For reports it works exactly the same.