Cyrstal报表子报表分页符 [英] Cyrstal Report Sub Report Page Break

查看:373
本文介绍了Cyrstal报表子报表分页符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚开始使用Crystal Report,我一直在试图解决这个子报表分页问题。我想我知道报告是什么,但我不知道如何解决这个问题。

I new to Crystal Report and I've been trying to figure how to solve this sub report page break problem. I think I know what the report does but I don't know how to solve this issue.

很难解释,所以我上传这些照片。希望有人能给我一些想法来解决这个问题。

It's hard to explain so I uploaded these pictures. Hopefully, someone can give me some ideas to solve this issue.

我的主要报告:

我的子报表,位于Detail Section2

第1页:子报告不打印,但离开。

第2页:打印子报表中的内容。在子报表中,我设置了新页面100可见记录。但这不解决它。我甚至在细节部分和IFieldObject(描述)中设置KeepTogether = False。

第4页:我跳过了第3页。

第5页:应如下所示:

我的理解是,停止。这就是为什么它毁了我的脚注(底线像5页)。所以子报表内容有更多的记录,它不适合第一页,这就是为什么它的第一页一半空白,从第2页开始。

to my understanding is that my sub report prints non-stop. and that's why it ruin my footer (bottom line like Page 5). So the sub report content has more records and it doesn't fit the first page, that's why it leaves the first page half blank and starts on page 2.

任何输入感谢...

推荐答案

好的,我找到了解决方案。花了整整一个工作日来找到这一点。取消选中属性中的KeepTogether选项不起作用。

Okay, I found the solution for this. It took a whole working day to find this. Unchecking "KeepTogether" option in the properties does not work at all.

您需要做的是,在主报表中,右键单击子报表,对象,在第一个选项卡常见中,取消选中将对象保持在一起。

What you have to do is, in the main report, right click the sub report and select "Format Object", on the first tab "Common", uncheck the "Keep Object Together".

这篇关于Cyrstal报表子报表分页符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆