主详细信息的 Reporting Services 格式
如何在报表上显示主详细信息记录。我正在尝试以以下格式显示。您能告诉我该怎么做吗?我很感激任何帮助。
我的查询以以下格式返回。
Parent_id Parent_name Parent_value Child_Column
----------------------------------------------------------
1 test 20 child row1
1 test 20 child row2
1 test 20 child row3
2 test2 88 child row4
2 test2 88 child row5
我的报告格式应该是这样的。
Record1: test 20
Child Rows: Child Row1
Child Row2
--------------------------------------------------
Record2: test2 88
Child Rows: Child Row1
Child Row2
How do I display Master Detail records on the report. I am trying to display in the following format.Could you please let me know how to do this? I appreciate any help.
My query returns in the following format.
Parent_id Parent_name Parent_value Child_Column
----------------------------------------------------------
1 test 20 child row1
1 test 20 child row2
1 test 20 child row3
2 test2 88 child row4
2 test2 88 child row5
My report format should look like.
Record1: test 20
Child Rows: Child Row1
Child Row2
--------------------------------------------------
Record2: test2 88
Child Rows: Child Row1
Child Row2
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要在设计器中针对 Parent_Name 和 Parent_Value 创建一个组。然后,您可以添加组标题以显示所需的输出。从那里您需要在详细信息部分添加必要的字段。我知道这听起来很模糊,但如果没有 IDE,就很难解释。希望您对 SRS 和 SQL 有足够的了解,以便开始使用此建议。
You'll want to create a group on Parent_Name and Parent_Value in the designer. You can then add the group header to display your desired output. From there you'll want to add the necessary fields in the details section. I know this sounds vague, but it's hard to explain without the IDE. Hopefully you understand enough about SRS and SQL to get started with this suggestion.