only one header for all the reports
I need only one header for all the reports with the company data. How do I make this header link in the other reports.
This discussion has been closed.
I need only one header for all the reports with the company data. How do I make this header link in the other reports.
Comments
We have a good video:
https://www.youtube.com/watch?v=8TsOQ28maN8
is there a way to have the report title underneath the header on the first page always?
This is not possible, but you can create a Child Band for Header and display it only on the first page.
Understand. Thank you very much for your help.
In fact I wanted a standard header where I only called it in all the reports I was going to do.
I will follow this line.
Hello!
To reuse the same header/company logo across all reports while being able to edit it in one place, FastReport .NET includes a built-in report inheritance mechanism (Report Inheritance):
Create a base template, CompanyBase.frx, with your PageHeaderBand (and PageFooterBand).
In each new report, select Report -> Options -> Inheritance and specify CompanyBase.frx (in the code: report.BaseReport = “CompanyBase.frx”;).
(Regarding AaronLowe’s additional question about displaying the ReportTitle under the PageHeader only on the first page: add a ChildBand to the PageHeaderBand and set its PrintOn property to PrintOn.FirstPage | PrintOn.SinglePage.)