Slow creation of report

sorry for my english hehehe,

is there a dispose method in TfrxReportClass?

im tryin to create many reports, heres an example:

for (int i=0;i<=40;i++)
{
getinfo();
createFastreport();
showReport();
}

this is only and example its not really the code, the thing is that, when im doin the iterations,
it takes to long to create them even if i dont show them, so is there something i can do when
creating many reports?

thnx in advance...

Comments

  • edited February 2011
    You can create the report object dynamically and then pass it to your procedures.

    procedure Tform.reports;
    var
    report : TfrxReport;
    for (int i=0;i<=40;i++)
    {
    report := TfrxReport.Create;
    getinfo( report );
    createFastreport( report );
    showReport( report );
    report.Free;
    }

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.