简体   繁体   English

SSRS如何为不同的数据集渲染多个“主体”?

[英]SSRS how to render multiple “Body” for different dataset?

I have 2 datasets D1 and D2 我有2 datasets D1 and D2

My report design is a fixed layout as follow, My D1 and D2 table will group at 6 rows and extra rows shall continue the next page. 我的报表设计是固定的布局,如下所示,我的D1D2表将分组为6行,多余的行将继续下一页。 The problem is if I group the D1 at 6 and break, D2 will not show in the first page. 问题是,如果我将D1分组为6并折断, D2将不会显示在第一页中。

I understand D1 and D2 will render continuously in the body even if you have a page break. 我知道即使您有分页D1D1D2也会在正文中连续渲染。

What I want is like having 2 Body section and each one have a prefix size. 我想要的就像有2个“正文”部分,每个部分都有一个前缀大小。 Is there any solution for this ? 有什么解决办法吗?

__________________
Header            

__________________

D1                
Row 1  
Row 2

Row 6     

D2                
Row 1  
Row 2

Row 6     
__________________

Footer            
__________________

1- Create a report for D1, showing 6 lines, with no headers or footers 1-为D1创建一个报告,显示6行,没有页眉或页脚

2- Create a report for D2, showing 6 lines, with no headers or footers 2-为D2创建报告,显示6行,没有页眉或页脚

3- Create empty parent report 3-创建空的父报告

4- Insert headers on the parent report 4-在父报表上插入标题

5- Right click on the body of the parent report and select insert->subreport 5-右键单击父报表的正文,然后选择插入->子报表

6- Right click on the newly created subreport, then subreport properties and select the subreport 1 6-右键单击新创建的子报表,然后单击子报表属性并选择子报表1

7- Repeat 5 and 6 for subreport 2 7-对子报表2重复5和6

8- Resize the layout as you please 8-根据需要调整布局大小

9- Insert footers 9-插入页脚

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM