可以将 SSRS 列表区域元素放入标题区域吗?
我有一个 SSRS 2008 报告,它使用一个列表区域和几个子报告。我需要在与该公司相关的每个页面上重复一些数据项(公司名称、发票编号)。该报告将为多个公司打印页面,每个公司打印多个页面。
我知道如何让重复标题发挥作用。我也知道如果列表区域查询只选择1家公司如何解决这个问题。然而,当有多个公司时,我试图让一个列表项重复出现,我陷入了困境。
我不知道有什么方法可以将外部列表区域的上下文放入报告标题中。 Chris Hays 广为人知的技巧 http://blogs.msdn.com/ChrisHays/ 似乎只起作用对于表格区域,但我有一个列表区域。
有什么想法吗?谢谢。
I have an SSRS 2008 report that uses a list area and several subreports. I need to have a few data items (company name, invoice number) repeat on each page that relates to that company. The report will print pages for multiple companies, with multiple pages for each company.
I know how to get repeat headers to work. I also know how to solve this problem if the list area query only selects 1 company. I'm stuck, however, trying to get a list item to repeat when there are multiple companies.
I'm unaware of any method to get the outer list area's context into the report header. Chris Hays's well read tricks http://blogs.msdn.com/ChrisHays/ seem only to work for table areas, but I've got a list area.
Any ideas? Thx.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了同样的问题并提出了这个解决方案。
我有一份包含发货详细信息的发货报告。当货件详细信息跨越多个页面时,我希望在每页上重复货件标题信息。上面的解决方案是有效的。
希望这有帮助,
担
I had the same problem and came up with this solution.
I had a shipment report with shipment details. When the shipment details spanned multiple pages I wanted the shipment header information repeated on each page. The solution above was effective.
Hope this helps,
Dan