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…

PROCESAMIENTO AJAX EN SCRIPTCASE

Ajax en los formularios de Scriptcase puede usarse para recargar un campo de tipo de select basado e...

IMPORTAR IMAGENES DE LA BASE DE DATOS Y UTILIZAR CLASES DE BOOSTRAP

Como muchas personas ya saben, Bootstrap es una biblioteca de front-end libre y de código abierto p...

TENDENCIAS DE DESARROLLO WEB PARA 2017

Usted verá en este post tendencias para 2017 en Diseño Web, en el medio digital y en el desarrollo...

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.