These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

SUM

kdtwing
Registered: Jul 7 2008
Posts: 6

I am having the hardest time understanding the SUM script in FormCalc. I want to total some fields and cannot get them to calculate right.

I have tried several variations in the sum script and even tried a table.

HELP!

My Product Information:
Acrobat Pro 8.1.2, Windows
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
You have to provide the field names or values as a parameter and this may require the full accessor path name for the fields maybe necessary. You also have to use the "Sum()" function not the "SUM()" function, correct spelling and capitalization are mandatory.

George Kaiser

kdtwing
Registered: Jul 7 2008
Posts: 6
Can you explain "accessor name string" Im new to the FormCalc world
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
This is the document, form, subform, event, etc from the XML hierarchy structure. The exact syntax depends upon using FormCalc or JavaScript. See the "Scripting reference" for more detailed information about this concept.

George Kaiser