How to use Fast Reports to generate a single report multiple times with different data

Hello,

Currently I generate a report based on concatenating a lot of single reports.

Basically I write XML data for a report, load the report, then generate the report with FReport.Prepare();
Then I create new XLM data, load the same report and repeat the process over and over to generate a big report and finally show the report.

Everything is working well, except I am not happy with the speed of generating my report. It takes about a second per report.
It seems like a lot of time is lost loading a report and corresponding xml data.

I have seen FR create a 100-page report in a second using the demo reports.

So to improve speed (at least I think it will), I would like to send fast Reports all data at once, so I send the XML data just once and load the report just once.
How to do this?

I have attached an example report. It consists of the report, and xml data (SinglePerson.xml).
SinglePerson.xml needs to be stored in c:\temp for the report to load it properly.
That preview as seen in the example report is the report I want to see multiple times for different persons

I have included 'MultiplePersons.xml' which contains 3 persons. How can I create this report 3 times for these 3 persons without invoking FR 3 times?

I have tested a modified version of the example report using 'MultiplePersons.xml' . I used a data-field with the persons as source. Most was working, but I can't get the graph to report correctly. I have spend hours on modifying the simple example report to use the MultiplePersons but to no avail.

Can anyone help?

Best regards,

Michael.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.