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…

SCRIPTCASE: What is VS What is not

What is VS What is not What is ScriptCase? It is a fast development environment with tools that f...

Conversion Process to Scriptcase 9

How to perform the conversion process to Scriptcase 9 For this Guide to perform the conversion proc...

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.