inheritance of frxreport
Hello All,
How can I make a common part of different reports?
OO solution should be:
I create an abstract report on a data module, setting common report footer, logos, and so on.
And I create a differrent descendants from it to make special bands for special reports.
Fastreport doesn' t support it
What is the fastreport's solution for this problem?
thx.
How can I make a common part of different reports?
OO solution should be:
I create an abstract report on a data module, setting common report footer, logos, and so on.
And I create a differrent descendants from it to make special bands for special reports.
Fastreport doesn' t support it
What is the fastreport's solution for this problem?
thx.
Comments
If I want to use 2 different ReportSummary band, I create each on different page.
Main report is Page1. To use ReportSummary2 from Page2, I switch BOTH parents.
procedure Page1OnBeforePrint(Sender: TfrxComponent);
begin
ReportSummary1.Parent := Page2;
ReportSummary2.Parent := Page1;
end;