Calculating Page-wise Sub-Totals and Grand Total in Adobe forms
...Previous
Step
9: Calculating Grand Total.
Group the elements of the body row, and then insert subform
by right clicking on data.
Move the table under the subform and Insert a new subform
with a text field under it.
After following these steps,
- From
the drop down list "Show" select Calculate
- Enable
FormCalc for the text field "Grand Total" as shown below.
Step
10: Code for Grand-Total
Write the code under the area provided for the text field
sum(Data.Table1.Group1.Row1[*].PRICE[*])
Click Enter Script Source Changes + to add the script to
your form.
Step
11: Save
and activate the form. Execute the form.
The output appears like this:
Page1:

Page2:
|