Skip to main content
All docs
V26.1
  • Add a Report to the End/Beginning

    Follow the steps below to add a separate report to the end of another report and print it as a single job. The report in this tutorial is bound to the sample Northwind database.

    xtrareports-merge-endreport-layouts

    1. Right-click the base report and select Insert Band | ReportFooter in the context menu.

      toolbox-drop-report-control-label

    2. Drag an XRSubreport item from the Toolbox onto the created Report Footer band.

      toolbox-drop-report-control-label

      Tip

      To add a report to the beginning of another report (for instance, to add a title page), use the ReportHeader band instead.

    3. Click the subreport’s smart tag. In the invoked Sub-Report Tasks window, set the ReportSource parameter to the report that you want to insert.

      xtrareports-add-subreport

    4. Enable the GenerateOwnPages option to print the embedded report on separate pages and use its own page settings.

      xtrareports-subreport-enable-generateownpages

    5. Switch to Preview mode to see the combined report.

      title-report-page-result

    Tip

    IF the merged reports contain bookmarks, you can use the SubreportBase.BookmarkParent property to create a parent bookmark for each report in a merged document map.

    See Also