How To…Standard Header/Footer

Question

“How can I implement a standard header and footer for all of my reports?

Solutions

1. When implementing form based reports, you can use Delphi’s form inheritance to create a base report layout
Notes: Do not use inheritance for the DataPipelines, unless you set AutoCreateFields to False. Do not use Delphi form inheritance for reports stored to a database or to rtm files.

2. This example shows how to use subreports to implement standard headers and footers. The headers and footers are stored to .rtm files.

Download: StandardHeaderAndFooter.zip

3. There is an example installed with ReportBuilder that shows how to implement a custom subreport descendant used to automatically load head and footer templates stored to the report explorer database. The example is installed to Rbuilder\Demos\EndUser\Dynamic Subreport Loading.