ActiveReports 12 Server Designer User Guide
Creating a Section Report
ActiveReports 12 Server Designer User Guide > Get Started with ClickOnce End User Designer > Create a Report > Creating a Section Report

The steps to create a Section report are split into following activities:

Note: Section reports do not support server shared data sets.

Design Time

 

Run Time

Select the report type

  1. On the ActiveReports Server Report Portal, click New Report  to create a new report.    
  2. From the Create report pop-up window, select Section Report and click OK.

Connect to a data source

  1. On the detail section band, click the Data Source icon.
  2. In the Report Data Source dialog, on the XML tab, click the ellipses button next to File URL.
  3. Navigate to [User Documents folder]\GrapeCity Samples\ActiveReports 12\Data, select the Factbook.xml file, and click the Open button.
  4. In the Recordset Pattern field, enter the following query:
    //countries/country
  5. Click OK to close the Report Data Source dialog.

Add controls to the report

  1. From the Report Explorer, drag the following data fields onto the Details section of the report, and set the following properties in the Properties window:
    Field Name Property Name
    Currency Location: 0, 0.4 in
    Size: 1, 0.2in
    VsUSD2004 Location: 5, 0.4 in
    Size: 2, 0.2in
    VsUSD2003 Location: 5, 0.76 in
    Size: 2, 0.2in
    VsUSD2002 Location: 5, 1.12 in
    Size: 2, 0.2in
    VsUSD2001 Location: 5, 1.48 in
    Size: 2, 0.2in
    @name Location: 3.25, 0 in
    Size: 2, 0.24in
    Font Size: 14pt
  2. From the toolbox, drag TextBox controls onto the Details section and set the following properties to create static labels.

    TextBox1

    Property Name Property Value
    Location 0, 0.4in
    Size 1, 0.2in
    Font Bold: True
    Text Currency:

    TextBox2

    Property Name Property Value
    Location 4, 0.4 in
    Size 1, 0.2in
    Text 2004:

    TextBox3

    Property Name Property Value
    Location 4, 0.76 in
    Size 1, 0.2in
    Text 2003:

    TextBox4

    Property Name Property Value
    Location 4, 1.12 in
    Size 1, 0.2in
    Text 2002:

    TextBox5

    Property Name Property Value
    Location 4, 1.48 in
    Size 1, 0.2in
    Value 2001:

View the report

Click the Preview tab to view the report at run time.

Save the report

  1. From the File menu, click Save.
  2. In the Save As dialog that opens, enter the Report name and click Save.
    You can also select the category where you want your report to appear, add a description, and add a comment for the revision history.