Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Bug in Fastreport (https://www.delphipraxis.net/152072-bug-fastreport.html)

hanspeter 10. Jun 2010 07:24

Bug in Fastreport
 
Hallo,

ich möchte mehrere Reports in einer Ausgabe zusammenfassen.
Das mache ich mit

Delphi-Quellcode:
frxReport.LoadFromFile('report1.fr3');
frxReport.PrepareReport(true);

frxReport.LoadFromFile('c:\report1.fr3');
frxReport.PrepareReport(false);

frxReport.LoadFromFile('c:\report1.fr3');
frxReport.PrepareReport(False);

frxReport.ShowPreparedReport;
In dem Report selber habe ich einen Script etwa in der Form
Delphi-Quellcode:
if <Blockgruppe> = 2 then Groupheader1.visible := true;
Drucke ich den Report einzeln funktioniert alles problemlos.
Verwende ich den Composite - Report wird der erste Report (PrepareReport(true))
generiert.
Der nachfolgende Report mit PrepareReport(False) bringt einen Scriptfehler "Groupheader1 nicht gefunden".
Hat wer den Effekt schon mal gehabt und hat einen Tip, wie dieser zu umgehen ist?

Gruß Peter


Alle Zeitangaben in WEZ +1. Es ist jetzt 07:14 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz