Tutorial: Using Group By and Sum

On this sample there will be shown groupping, totals and sumaries from the reporting capabilities.

Creating a new grid

1. Create a new grid application using customers table.

2. Choose CustomerID, CompanyName, Adress, Phone and Country fields in the Fields Positioning menu.

Creating a Group By on the State field

3. Open Group By menu and click in Settings.

4. Enable Treeview property and set the value Customers in Record Count.

5. Back to Group By, click on “Static Group By>>New Group By” and select the StateID field, then click in Turn On button.

Creating a total on the CreditLimit field

6. Open the Totals folder and click in Select Fields .

7. Select the field CreditLimit and then click in the Sum button.

Setting up the summary page

8. Open Summary menu and click on Settings.

9. Set Title and Quantity Title to States and Customers respectively.

10. Click on the button “Run application”

Tutorials in the same category

Analyical Chart

In this example we will see how to create an analytic chart using the Grid application. Creat...

Menu with Chart Applications

This example will use a menu treeview application to display the new charts generated by Scriptcase....

Using the Refined Filter

In this example we will develop a report using the refined filter option, which allows you to filter...

Percentage field

In this example we will see how to use the Percentage field available in the Grid. Configurin...

Comment this post