How to load multiple finished reports
Hi,
I'm trying this, but it doesn't works :
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
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
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 ?
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.