ActiveReports 9
Create and Use a Master Report (RDL Report)
 
Show AllShow All
Hide AllHide All

In a RDL report, you can create a master report that you apply to any number of content reports to keep common styles in one easy-to-maintain location. See Master Reports for more information.

To design a master report

These steps assume that you have already added a RDL Report template and connected it to a data source. The Master Report feature is only available in RDL Report.

See the topic, Adding an ActiveReport to a Project Exploring Page Reports for further information.

  1. With focus on the report, from the Report Menu, select Convert to Master Report to create a master report.
  2. Right-click the ruler area to the top or left of the report and choose Page Header, then Page Footer.
  3. From the toolbox, drag and drop controls in the page header and footer. These controls that appear on every page of every report to when you apply the master report. For e.g., an image of the company logo, or a textbox with the company Web site address.
  4. From the toolbox, drag and drop a ContentPlaceHolder control to the report. This control defines where you want to allow controls to be placed on content reports that use the master report.

    Add a ContentPlaceHolder

  5. With the report selected, go to the Report menu > Save Layout.
  6. In the Save As dialog that appears, navigate to the location where you want to save the report and click Save to save the report in the rdlx-master file format.  

To use a master report

These steps assume that you have already added a RDL Report template. This report functions as a content report.

  1. With focus on the report to which you want to apply the master report, from the Report menu, select Set Master Report.
  2. In the Open dialog that appears, navigate to the location where you saved the master report and open it. The master report layout is applied to the content report with all areas locked except for the region with the ContentPlaceHolder, which is available for use.
See Also

Concepts

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum