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…

How to implement A2F using Own Development in NodeJS in a Scriptcase application

A2F using Own Development in NodeJS A2F: In a previous article, we talked about Swivel as an extern...

Specialists or generalists, who gets a better advantage by using Scriptcase?

Hey there! Today  we will figure what are the ideal profiles for those who wish to take advantage o...

Disabling autofill and autocomplete Chrome browser in login screens

Hello, here I want to show an alternative to disable the autofill and autocomplete of the chrome bro...

Comment this post

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.