Optimize report preview.
Hi,
We have a report that displays a number of drawings in SVG format.
The problem is, it seems as though the report is being generated twice in order to show the total number of pages in the report footer. A report of 21 pages is taking around 10 seconds to preview. I am trying to optimize it so that the preview doesn't take that long.
What can I do do to speed up the preview process?
Is it possible to know the number of pages before the report is previewed?
Comments
Did you check the double pass parameter? You could turn that off or perhaps only render the SVG on pass two - perhaps you could make it not visible if its a fixed size on pass 1?
Maybe fast report could render images with autosize = false only on the final run
Thanks @hsvandrew for the suggestions.
It was the DoublePass parameter in the end... it was being set to true in the inherited report.
Just out of curiosity, how can I render the SVG on pass two - is this done in Delphi code or using FastScript?