gpt4 book ai didi

reporting-services - 子报告尽量保持在一起,留下空白点/页面

转载 作者:行者123 更新时间:2023-12-04 06:51:44 24 4
gpt4 key购买 nike

报告服务 2005

我的布局是这样的:

  • 我有一个 mainreport,其中包含一个表
  • 该表有 3 个运行组,GrpLevel1、GrpLevel2、GrpLevel3
  • 子报告被添加到 3 个组之一,并通过将该组键传递给子报告
  • 来执行

    因此,一个特定的子报表将在 GrpLevel1 运行,并且对于它包含的每个 level2,GrpLevel2 下的子报表将运行。

    我遇到的问题是子报告想要跳到下一页,从而在报告中留下空白空白。

    如果一个子报表包含一个包含一堆数据的表格并且它不能适应一个页面的 3/4 秒(报表的第一页顶部 1/4 有报表标题),它会将整个内容跳转到下一页只留下一个标题,而不是在第一页上打印它可以打印的内容。

    在 table 上,我关闭了“保持在一起”。

    我不知所措,准备着火我的立方体。对此的洞察力将不胜感激。

    更新 ****************这已在 SSRS 2008 R2 中修复************************
    它已通过 (SQL Server) Reporting Services 2008 R2 修复。您现在可以在子报告上切换 KeepTogether。分页看起来好多了。

    最佳答案

    看起来这个问题没有解决方案。该错误已被微软确认,但在 SSRS2008 中仍未修复。

    来自知识库文章 ( http://support.microsoft.com/kb/938943 )

    This behavior occurs because the Subreport control has an implicit KeepTogether property. By design, the KeepTogether property tries to keep content of a subreport on one page. Because of this behavior, the report engine creates blank space on the main report if the subreport does not fit on the same page as the main report. Then, the report engine creates the subreport on a new page.



    他们列出的解决方法本质上是“不要使用子报告”

    关于reporting-services - 子报告尽量保持在一起,留下空白点/页面,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/635051/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com