Table of Contents

  1. Introduction
  2. Creating a Standard GROUP-BY Report
  3. Creating a Simple Record-Count Report

Introduction

The ASP Report Wizard has the ability to divide a table into groups. These groups can consist of column names or results or computed columns values such as the:

Top

Creating a Standard GROUP-BY Report

To create such a report, all you have to do is:
  1. Select any table (e.g. Order Details)
  2. Lauch the wizard dialog
  3. Select the fields you want to participate in the report (ProductID, UnitPrice, Discount)
  4. Click Next » and select the Text Format for your fields (UnitPrice -> Currency & Discount -> Percentage) as shown in the screen shot below:
    Click to enlarge
     
  5. Advance 2 screens to the section Add a title and description to your report, and check the Summary Report checkbox Make sure your screen looks something as the one shown below:
    Click to enlarge
     
  6. Click Next » to proceed to the Select summary types section.
    Select the summary types you want performed for the fields you want the computations to be performed on e.g. we want computations performed only on UnitPrice and Discount. The ProductID should not be added because we are making our report per Product. Your screen should look something like the image below:
    Click to enlarge
     
  7. You can optionally check the Add record count if you want to add a count of the number of records for each group
  8. At this point you can click on Finish to generate your summary report. Your report should look something like the image below:
    Click to enlarge
     

Top

Creating a Simple Record-Count Report

If you wanted to generate a report just based on the COUNT value such as the number of customers in each country, all you have to do is :
  1. Select your customer's table
  2. Lauch the wizard dialog
  3. Select the field you want to participate in the report - in this case it would be Country
     
  4. Advance 3 screens to the section Add a title and description to your report, and check the Summary Report checkbox
     
  5. Click Next » to proceed to the Select summary types section.
    Note that no fields will be displayed
     
  6. Check the Add record count checkbox and click finish.Your report should look something like the image below:
    Click to enlarge
     


See Also

 


...