Skip to content
Report-Designer

Tables

Group rows, add subtotals and list child rows such as voucher lines.

In Design, click Table under Insert on the left. In Insert table, choose the data set, band and columns. Use Group by to add group headers and subtotal rows, then click Insert table. When a table grows, it moves objects below it down. In the table properties, use Repeat header rows on each page to show the header on later pages.

Under Place in, choose Report header or Report footer for a list of all rows. To list child rows under each main record, choose Details and a named data set. Use Link to the main record to link matching columns. For voucher lines, link the line’s VoucherId to the main record’s VoucherId. Page headers and footers cannot hold tables.

Group and total rows

Inside the table, {Debit} reads the table’s row and {^Payee} reads the main record. Use Sum({Debit}) in a group footer for a subtotal or in the table footer for a grand total. Other aggregates include Count(), Count(x), Avg(x), Min(x) and Max(x). You can combine them in an expression such as Sum({Debit}) - Sum({Credit}).

In the table’s group properties, use Keep together on one page to move a group to the next page if it fits there and would otherwise split. Use New page after each group to start the next group on a new page.