How to load multiple finished reports

Hi,

I'm trying this, but it doesn't works :
while not main.ZQueryFactures.eof do
Begin
Main.frxReport1.preparereport(false); // <= I want to add multiple finished reports
//Preparing the stream Object
Main.RapportPrepare:= TStream.Create;
Main.RapportPrepare:= main.ZQueryFactures.CreateBlobStream(main.ZQueryFactures.FieldByName('Facture'), bmRead);
//loading the report into fastreport
Main.frxReport1.PreviewPages.loadFromStream(Main.RapportPrepare);
main.RapportPrepare.free;
main.RapportPrepare:=nil;
main.ZQueryFactures.next
End;
Main.frxReport1.showpreparedreport();

As you can see, I open a Table, and for each records, i'm loading an finished report. When the whole table is parsed, I want to show all the reports loaded.

This doesn't works ! Am I missing something ?
If not, could this feature be added in the next release ?

Thank you

Comments

  • edited 8:28AM
    Sorry, but you can't combine *finished* reports.
  • edited 8:28AM
    That's very sad....

    If my customer ask for an invoice (lets say that he lost his original invoice), I must send the same one again. I can't rely on my data (because of some fields that are updated....)

    Do you plan to add this feature ?, as you can understand, this is something I really need. Is it hard to implement ?
  • edited 8:28AM
    Much harder that in FR2.x...
  • edited 8:28AM
    ;)

    Well, I can understand it to be hard to implement. But is there really a change to so it in a near future ?.I don't want to bore you, but this is an important point (for me of course, but this feature will certainly help a lot of other users , ie: the one which is using external comps for appending PDFs...).

    Should I start to move all my project (older and forthcoming) to fastreport ? I'm sure you could imagine all the time it will demands !

    Anyway, thank you for your support.

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.