如何避免在微软报表中拆分行组?
我这里有一份报告,每个项目都分为几行,但大约四行可以容纳一页。
我的问题是 MS Report 正在拆分最后一个项目,我想将整个项目保留在页面上或跳到下一页。有没有什么自动的方法来完成这个?
我尝试在 tablix 属性中标记“如果可能的话,保留在一页中”选项,但没有成功。
I have a report here that each item is split in several lines, but about four can fit a single page.
My problem is that MS Report is splitting the last one and I would like to keep the entire item on the page or skip it to the next page. Is there any automatic way to accomplish this?
I tried marking the "Keep together in one page if possible" option in the tablix properties, but no success with this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了和你一样的问题,我的每个项目都包含大约 10 行。我可以在每页显示 2 个完整项目,但我不想跨页拆分项目。我通过以下方式解决了这个问题:
这样,第一组由两个项目组成(均为分组 0),然后有一个分页符。下一组是分组 1,然后是分页符,依此类推。
I had the same problem as you, where my items each consisted of about 10 rows. I could show 2 full items per page, and I didn't want to split an item across pages. I solved this in the following way:
This way, the first group consists of two items (both with grouping 0), then there's a page break. The next group has grouping 1, and then there's a page break and so on.