0

表达式无效时是否打印以下内容:

29 <= $F{selfawarenesscore} <= 45

我在JasperReports 服务器中收到以下错误

com.jaspersoft.jasperserver.api.JSExceptionWrapper: 
Errors were encountered when compiling report expressions class file:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
calculator_subreport2_EmotionalSelfAwareness40QI41_1370531739954_546871: 233: 
unexpected token: <= @ line 233, column 83. 1 error

当$F{selfawarenesscore}是上述范围时,我想打印一个文本字段。

任何帮助表示赞赏。

4

1 回答 1

1

尝试:

 $F{selfawarenessscore} >= 29 && $F{selfawarenessscore} <= 45
于 2013-06-06T15:28:06.940 回答