ActiveReports 14
ActiveReports 14 User Guide / Samples and Walkthroughs / Samples / Samples / API / Page and RDL Reports / Report Wizard
In This Topic
    Report Wizard
    In This Topic

    The Report Wizard sample demonstrates how to create and customize a report, using the report wizard.

    Sample Location

    Visual Basic.NET

    ..\Samples14\API\PageAndRDL\ReportWizard\VB.NET

    C#

    ..\Samples14\API\PageAndRDL\API\ReportWizard\C#

    Details

    When you run this sample, the form with the Report Wizard appears. On the Select Report Type page, select the report type you want to analyze and click the Next button. 

    On the next Choose grouping options page of the wizard that appears, you are asked to choose a field for grouping the report data and click the Next button. You can also enable the checkbox at the bottom of the page if you like to include the last detail of the report as separate group. If you leave it unchecked, the checkbox automatically adds the last detail to a previous group.

    On the next Select output fields page of the wizard that appears, you are asked to choose the fields you want to display in your report and click the Next button. On the next Summarization and Review page, you can review the settings you have selected previously. You can also set the summary options if you want to display a grand total or a sub-total in the report. Finally, when you click the Finish button, the GrapeCity Unified ReportDesigner appears and displays the report.

    The sample consists of following items:

    MetaData folder: This folder contains two internal classes, FieldMetaData and ReportMetaData. The FieldMetaData class contains information on the fields used in the report string values. This file provides this information when required by the application. Similarly, the ReportMetaData class contains information on the reports used in this sample. This file provides this information when required by the application.

    Resources folder: This folder contains images and icons used by the Report Wizard API.

    UI folder:

    Constants: This is an internal class that contains fields in string values that can be summarized.

    GenreSales.rdlx-master: This is the master report for the Genre Sales report. It uses the Image, two Textbox and ContentPlaceholder controls to design the report. The Image control displays the logo on the top of the report while the two Textbox controls display the report execution time and page number information respectively. The ContentPlaceholder control displays its content report.

    LayoutBuilder: This is the internal class file that contains code for creating the layout of both child reports and loading data in it.

    Reports.xml: This XML file is used as a database to provide data for the reports in this sample.

    ReportWizardState: This is the internal class file that contains code for handling the UI of the Report Wizard.

    StoreSales.rdlx-master: This is the master report for the Store Sales report. It uses the Image, two Textbox and ContentPlaceholder controls to design the report. The Image control displays the logo on the top of the report while the two Textbox controls display the report execution time and page number information respectively. The ContentPlaceholder control displays its content report.

    See Also