1
Open the properties dialog box
Right-click the field and select Properties, or open the Document Definition properties (in the Document Definition editor, select Document Definition → Document Definition Properties).
2
Create a new rule
On the Rules tab, click New Rule. Select Calculate Sum and click OK.
3
Set the common rule options
Type a Name, set the conditions for applying the rule and any Tags as needed, and click Next. For the full list of common rule options, see Set up rules.
4
Add the fields to sum
Click Add to add the fields to the Summarize values of fields list.
5
Choose the result field
In the Result field box, click Select and choose the field to hold the sum.
6
Set the summand requirement
Select At least two non-empty objects required if at least two non-empty, non-zero summands must be used; otherwise an error appears during the rule check.
When this option is on, add at least two document fields (or two table columns). If you sum all the cells of a single table column, leave it off.
7
Finish
Click Finish. The rule name appears on the Rules tab.
