Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

iReport - Formula ?

800316Aug 27 2008 — edited Sep 26 2008
Hi All,

I'm new to iReport tool.

I have three field display in my report .third field should hold sum of other two field values.How to set formula for this field in iReport tool.

I gave $F{a}+$F in expression editor ,but still i get only null value while a holds 5 and b holds 6 . third field value shud be 11 .

When i check the expression in exp editor i get this exception y?

Sourced file: inline evaluation of: ``((java.lang.String)field_a.getValue())+((java.lang.String)field_b.getValue());'' : illegal use of null value or 'null' literal
;
Line: 1

Please guide me on this.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 24 2008
Added on Aug 27 2008
3 comments
2,286 views