水晶报表子报表分页符 [英] Crystal Report Sub Report Page Break

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

问题描述

我是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.

我的主要报告:

我的子报表,该报表位于详细信息部分2(详细信息b)中:

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

第2页:打印子报告中的内容。在子报表中,我设置了 100条可见记录后的新页。但这并不能解决。我什至在详细信息部分以及IFieldObject(描述)中都设置了KeepTogether = False。

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

第5页:应该看起来像这样:

据我了解,我的子报告非停。这就是为什么它破坏了我的页脚(第5页的底部)。因此,子报表的内容具有更多的记录,并且不适合第一页,这就是为什么它将第一页的空白留为空白并从第二页开始的原因。

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".

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

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