View on GitHub

dotnet-eud

.NET Controls End-User Documentation

Create a Combined Report Layout

Snap allows you to create a single combined report, incorporating features of different report layout types. There is no limits on how many reports you can combine.

In this tutorial, we will create a combined report that uses the features of mail-merge and chart-based reports.

The tutorial consists of the following sections.

Add Mail-Merge Report Functionality

In this section, we will create a simple Mail-Merge Report.

  1. Create a new Snap document and provide it with a master-detail data connection.
  2. Specify which data source will be used for mail merge by right-clicking the required data source in the Data Explorer and select Use For Mail Merge in the invoked drop-down menu.

    combined-report-0

  3. Insert a master report part. To do this, drag-and-drop data fields from the Data Explorer onto the Design Surface.

    combined-report-1

  4. To insert a detail report part, drag-and-drop fields from a subordinate node of the data source.

    combined-report-2

    The added detail part will have a tabular form by default.

    combined-report-7

For more information on the creation mail-merge report, see the tutorial Create a Mail-Merge Report.

Add Chart-Based Report Functionality

In this section we will add a Chart to the Snap document.

  1. Click the Chart command in the Insert tab of the main toolbar.

    combined-report-3

  2. In the created chart, the blue circles correspond to the values and arguments of the chart. Drop one field from a subordinate node of the data source onto the “values” region in the chart…

    combined-report-4

    …and the other onto the “arguments” region.

    combined-report-5

For more information on the creation of a chart-based report, see the tutorial Create a Chart-Based Report.

View the Result