水晶报表中子报表中表格补空行问题
在我的水晶报表中有子报表,想让其显示共5行,不够时自动补够,按啊泰的方法
http://hi.baidu.com/yanguang1670/blog/item/0444122a96ea16305343c1b7.html
如果有一条两条数据时,可以补满,但是当数据为为空时,我也想让其显示5行空行,按照阿泰的方法,为空时只能显示一行空行,后来我在啊泰的基础上自己加上了以下这些代码,但是没有用。
if count({four_ops.ops_name}) =0 and onlastrecord then
false
else
if count({four_ops.ops_name}) mod 4>0 and count({four_ops.ops_name}) mod 4<=2 and onlastrecord then
false
else
true
我发现是创建公式count({four_ops.ops_name})得到的都是0,不知道是为什么?大家帮我解决讨论下。