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

How to Conditionally Show a Page Header

By default, the Page Header appears on every page. With a simple change, you can optionally turn off the Page Header for all pages. This article describes how to create a new parameter to conditionally turn on or off your 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 Report Explorer.
  7. Scroll to the bottom of the Field List tab. 
  8. Right-click Parameters and select Edit Parameters.
    Righ-click Parameters and then click 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 Page Setup and then click the Add Parameters 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 – IncludePageHeader
    • Description – Include Page Header
    • Type – Boolean
    • Default Value - Yes
Enter properties for the new parameter

 

Designer Changes

  1. In the Designer section in the middle of your screen, locate and select the PageHeader band.
  2. Click the Function button on the right. Expression Editor opens.
    Select the PageHeader band and then the Function button
  3. Select the Visible section on the left. Paste the following expression and then click OK:
    ?IncludePageHeader

    Select Visible and paste the function
  4. Save and run your report
  5. In Report Viewer on the left side of your screen, expand Page Setup.
  6. For Include Page Header, choose an option. 
    Choose whether to display the Page Header
  7. Click Submit to rerun the report.