我的报告中有一个序列号列,当特定列值不为空时,我想在其中显示序列号。因此,为此我创建了一个名为的组EmployeeSerialNumber并将组表达式设置为$F{empid}序列号文本字段属性,我设置
new Boolean($V{EmployeeSerialNumber_COUNT}.intValue()==1)了 forPrint When Expression和 forText Field Expression已设置$V{REPORT_COUNT}
但是预览如下
编号 超时空
1 100 9:00 1:00
2:00 6:00
3 101 9:10 1:20
但是,我希望预览如下:
编号 超时空
1 100 9:00 1:00
2:00 6:00
2 101 9:10 1:20
有人可以帮助我吗,非常感谢