Accumulated type of field on Scriptcase is used to show a sum of a specific field based in the number of records loaded in a report application, it will show the total amount of all records already loaded on the applications, for example, in the image below Scriptcase will show the SUM of the credit limit field from the previous records and show it on the Accumulated field created by the developer.

Click on this LINK to see the example running.

Using Field Accumulated

In this example, we will develop a report using the accumulated field option, which allows accumulating the values of a column in another one.

Creating a New Grid

1. Create a new grid application using the Customers table.

2. Select the fields CustomerID, CompanyName, ContactName, ContactTitle, BirthDate, Country and CreditLimit. To select the fields click on Fields Positioning located in the application menu.

3. In the application, menu opens the Fields folder and click on the item New Field

4. We will create one field called “Accumulated” of the “decimal” type.

5. In the settings of the field, use the “Accumulated” option and select the field “CreditLimit” in “Accumulator Field”.

6. Click “Run application”

 

Do you want to see more Scriptcase examples? Click HERE to check it out.

You might also like…

Do they pay for your system or code?

For all those who develop system and softwares every day at work: Have you ever wondered what makes...

What is Business Intelligence anyways?

Surely you have listened about the expression, “BI” or “Business Intelligence”, the questio...

Scriptcase & Web Services

This time I will explain how to work with web services inside the Scriptcase, directly with PHP and...

You might also like…

Get new posts, resources, offers and more each week.

We will use the information you provide to update you about our Newsletter and Special Offers. You can unsubscribe any time you want by clinck in a link in the footer of any email you receive from us, or by contacting us at sales@scriptcase.net. Learn more about our Privacy Police.