Skip to content
  • There are no suggestions because the search field is empty.

How to Print a Parameter Value Inside a Page Header

When running a report with filters applied, it can be helpful to display a custom Report Title that clearly identifies the report’s scope. By using a placeholder parameter, you can dynamically update the title each time you run the report. This article explains how to create a Report Title parameter and display its value in the page header.

Add New Parameter

  1. Open an estimate in DESTINI Cloud Estimator.
  2. Navigate to Home> New Report. Report Designer opens.
  3. Click File> Open.
  4. Navigate to the folder with the report template file (.repx) you want to modify.
  5. Click the .repx file to open it.
  6. On the right side of your screen, click the Field List tab at the bottom of the Report Explorer.
  7. Scroll to the bottom of the Field List tab. 
  8. Right-click Parameters and select Edit Parameters.
  9. On the left side of the Parameterswindow, locate and select the Page Setup group.
  10. Click the Add Parameter button on the top left side of the window.
    Click the Add Parameter button
  11. With the new parameter selected, enter the following information and then click OK. For any setting not specified here, leave the default configuration:
    • Name – ReportTitle
    • Description - Report Title
    • Type - String

Enter the parameter details

(Optional) Create a New Style

By default, all controls inside the PageHeader band are formatted with the same font. If you would like to use a different size font for your Report Title, we recommend creating a new style.

For more information about styles, see Change Fonts and Colors in Your Report With the Styles Editor

  1. On the right side of your screen, click the Report Explorer tab at the bottom of the Field List.
  2. Right-click the Styles node and select Edit Styles.
    On the Report Explorer tab, click Edit Styles
  3. Inside the Styles Editor window, select PageHeaderStyle on the left side.
  4. Click the Clone a style button at the top of the window.
    Click the Clone a style button
  5. With the new style selected, enter the following information and click the Close button:
    1. (Name): PageHeader_ReportTitle
    2. Font = 12, Bold
Enter the details for the new style

Designer Changes

  1. In the Designer section in the middle of your screen, locate and select the PageHeader band. Drag the bottom edge downwards to create more vertical space.
    Drag the bottom part of the PageHeader down to create space
  2. In the Toolbox panel on the left side of your screen, drag and drop a Label control into your PageHeader band.
  3. With your label selected, drag the left and right edges to the page margin.
    Add a label to the PageHeader and expand it
  4. Click the Function button on the right side of the label cell.
  5. Inside the Text section, paste the following expression:
    ?ReportTitle

    Paste the expression into the Text field
  6. On the left side of the window, select Style Name and paste the following expression:
    'PageHeader_ReportTitle'
  7. Click OK.

(Optional) Adjust the Formatting

  1. With the new label still selected, use the menu bar button at the top of your screen to Center align your text.
    Center align the label
  2. Reselect the PageHeader band and drag the bottom edge upwards to remove any vertical empty space.
    Remove any extra space from the cell
  3. Save and run your report.
  4. To dynamically change your Report’s Title, expand the Page Setup group in the Parameters pane on the left side of the Report Viewer.
  5. Type anything inside your Report Title parameter (i.e. Building 1 Summary).
    Enter a report title
  6. Click Submit.
The report title appears centered above the Executive Summary