This event it is executed inside the grouping., independent of the grouping level, this event allows the manipulation of the summarized fields. The Scriptcase makes available all the summarized variables. Assuming an application that has two levels of grouping (state and city) and that sums two fields (parcel and balance), we can have access to the totals, in the scope of "calculate to each register", of the following way: {count_ger} - contains the total amount of the registers; {sum_parcel} - contains the general summing of the "parcel" field; {sum_balance} - contains the general summing of the "balance" field; {count_state} - contains the total amount of the registers, of "state" grouping that is being processed; {sum_state_parcel} - contains the summing of the "parcel" field, of the "state" grouping that is being processed; {sum_state_balance} - contains the summing of the "balance" field, of the "state" grouping that is being processed; {count_city} - contains the total amount of the registers, of the "city" grouping that is being processed; {sum_city_parcel} - contains the summing of the "parcel" field, of the "city" grouping that is being processed; {sum_city_balance} - contains the summing of the "balance" field, of the "city" grouping that is being processed; Considering that the formulas, defined to be processed in the scope of "calculate during the groupings" will be acting for the various grouping levels, the special sum variables, in this scope, are referenced substituting the grouping name by the word key "grouping", or either: {count_ger} - contains the total amount of the registers; {sum_parcel} - contains the general summing of the "parcel" field; {sum_balance} - contains the general summing of the "balance" field; {count_grouping} - contains the total amount of the registers, of the grouping that is being processed; {sum_grouping_parcel} - contains the summing of the "parcel" field, of the grouping is being processed; {sum_grouping_balance} - contains the summing of the "balance" field, of the grouping is being processed;