[jasperreports-questions] print when expression question from newbie

2006-06-06 Thread John Dunn
I need help with the syntax in returning a boolean. Whay does this not wirk? I get a compilation error? (($F{JOB_PROFILE_TYPE} != "MERGE") ? true : false) John Dunn Product Consultant Direct Dial +44 (0) 117 373 6122 Sefas Innovation Ltd, CityPoint, Temple Gate, Bristol BS1 6PL, UK. Tel: +44(0)

Re: [jasperreports-questions] print when expression question from newbie

2006-06-07 Thread Dave Nelson
John,I see a couple of problems, here.  First, the _expression_ needs to return a Boolean object, not a boolean primitive, so the first thing would be to change it like so:(($F{JOB_PROFILE_TYPE} != "MERGE") ? Boolean.TRUE : Boolean.FALSE)However, this still isn't quite right. That $F{JOB_PROFILE_T