如何在每个页面上显示子报告的标题?

问题描述:

我需要在C1Report设计器中设置什么属性,以便在每个新页面上显示子报告的标题.

What property do i need to set in the C1Report Designer to display the heading of my sub report on each new page.

Repeat = true

设置了该属性后,子报表不会在每个新页面上显示标题.对于Main Report而言,它确实可以正常工作.

With that property set, the sub report does not show the heading on each new page. It does work fine for the Main Report tho.

您需要在子报表的主键字段上添加分组.然后检查页眉和页脚部分.然后为页眉和页脚部分设置repeat = true.

You need to add a Grouping on the primary key field for the sub-report. Then check the header and footer section. Then set the repeat = true for the header and footer section.