2020.2

Table Of Contents
Subtotals inside a Dynamic Table
Subtotals normally appear in the header or footer of a table; however, it is also possible to
insert subtotals in cells in the body of a table.
1. Start by adding a row to the body of the table: right-click a row in the table, depending on
where you want to add a row, and select Row > Insert below or Insert above.
If the row should occur only once, you can now proceed with step 5 in "Adding a row to the
header or footer of a Dynamic Table" on page807.
If the row should occur as often as a certain detail table, it must be associated with that detail
table first.
1. Select the row (see "Selecting an element" on page616).
2.
Change the row's Repeat attribute on the Attribute pane from None to the desired detail
table. Usually this will be the detail table that is one level higher than the one that
contains the field for which the subtotal must be calculated.
3. Proceed with step 5 in "Adding a row to the header or footer of a Dynamic Table" on
page807. The Sum drop-down will now only show the names of fields that occur in the
specified detail table and in its nested detail tables.
Mixing text and data in one cell
By default, each Dynamic Table cell that is based on a data field shows a placeholder. For
example: @CompanyName@ refers to a data field named CompanyName. However, unlike
other placeholders, these placeholders are not used as selector.
Instead, if a cell has the data-field or data-sum attribute, the software will replace the entire
contents of that cell that with a value: the current value of the data field, or a running total,
respectively. (For information about data- attributes see: "HTML: table element and data-
attributes" on page815).
Any text that was added in Design mode will disappear.
In order to mix data and text in a cell, you should remove the data-field or data-sum attribute,
respectively, from the cell itself and then put that attribute on an element inside the cell.
Here's how to do that.
Page 810