如何在Crystal Reports中为新页面设置分页符/分节符? [英] How to set a page/section break for a new page in Crystal Reports?

查看:67
本文介绍了如何在Crystal Reports中为新页面设置分页符/分节符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在使用Crystal报表的项目中工作,Crystal报表的数据源是一个xml文件,在Crystal报表的设计视图中,我将数据从数据源拖放到详细信息部分.问题是细节视图中的数据太多,因此它在报表预览中不显示任何内容,当我尝试仅显示一些数据时,它可以正常工作,我想这是所有数据都会赢得的结果.''不适合一页.我已经进行了一些研究,发现了一些分组方案和内容,但在我看来,拖放是更可取的,因为我想格式化报告.无论如何,有没有分组就可以做到这一点吗?预先表示感谢.

Hi guys,

Im working on a project with crystal reports, the datasource of the crystal reports is an xml file and in the design view of the crystal reports i drag and dropped the data from the datasource to the detail section. The problem is there are too many data in the detail view so it doesn''t display anything in the report preview, when i tried to display only a few data it works fine, my guess would be that all of the data won''t fit in one page. I already did some research and found some grouping scheme and stuff but in my case drag and drop is more preferable because i want to format the report. Is there anyway to do this without grouping? Thanks in advance.

推荐答案

要显示每页30条记录,请执行以下操作:
1.在Design View
中打开报告 2.右键单击Details部分,然后选择Section Expert
3.确保在节专家"对话框中选择了详细信息"节.选中New Page After
框 4.单击复选框右侧的公式编辑器按钮.
5.输入以下公式:If Remainder (RecordNumber, 30) = 0 Then True Else False
6.单击SaveClose,然后单击OK.
To show 30 records per page, do the following:
1. Open the report in Design View
2. Right click on the Details section and select Section Expert
3. Make sure the Details section is selected in the Section Expert dialog box. Check the box New Page After
4. Click the formula editor button to the right of the checkbox.
5. Enter the following formula: If Remainder (RecordNumber, 30) = 0 Then True Else False
6. Click Save, Close and then click OK.


这篇关于如何在Crystal Reports中为新页面设置分页符/分节符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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