水晶报告中的问题 [英] problem in crystal report

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

问题描述

你好朋友,



我有团体明智的学生记录,在水晶报告中面临一个非常大的问题。我想在每个页面中只设置2个学生记录。但我不知道该怎么做..在每个页面我只想设置2个学生记录..你有任何想法如何解决它。如果您有任何公式或代码,请尽快回复我...



感谢提前

hello friends,

I have student records with group wise Admission No.i m facing a very big problem in crystal report. i want to set only 2 student records in every page.but i don't have any idea how to do it.. in every page i want to set only 2 student records .. do you have any idea how to solve it. if you have any formula or code for it then please reply me ASAP...

thanks in Advance

推荐答案

要使每页显示2条记录,请执行以下操作



在设计视图中打开报告

右键单击详细信息部分并选择Section Expert

确保在Section Expert对话框中选中Details部分。选中New Page After后面的框

单击复选框右侧的公式编辑器按钮。

如果Remainder(RecordNumber,2)=,请输入以下公式0然后返回true否则

单击保存并关闭,然后单击确定。如果你运行报告,它应该在每两行之后中断。
To make it show 2 records per page do the following

Open the report in Design View
Right click on the Details section and select Section Expert
Make sure the Details section is selected in the Section Expert dialog box. Check the box that says "New Page After"
Click the formula editor button to the right of the checkbox.
Enter the following formula if Remainder (RecordNumber, 2) = 0 then true else false
Click Save and Close and then click OK. If you run the report it should break after each 2 rows.


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

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