Answered
Despite reading the other posts and tutorials, I cannot seem to get this. Can you help me simply add totals from 3 different pages onto a grand total last page?
I don't understand SOM, I have looked in the hierarchy palatte and made sure the field with the cal. is at the bottom....Of course, I am under a schedule and I need it yesterday.....ugh.
I have tried naming all the fields in the column the same "P1", the total boxes at the end of each page are all named the same "Total1". I tried setting the binding to global...I am sure I am missing some small thing in the script or a palatte selection.
Can you smell the desperation?!!
Any help would be greatly appreciated.
thank you,
Anna
However, here is a clue. If the top level of the form is named "form1" which is usually the default, and all of the fields that need to be added up are named "Total1", then this code should due the trick.
Sum(form1.*.Total1)
This FormCalc scipt will add together every field on the form that's named "Total1", regardless of where the field is in the hierarchy.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script