[quote] $V{varmasterreport} -> from master report [/quote] i think if its should be from master report than it should be taken as subreport parameter not as variable. CMIIW
btw, i wonder if your question should be put at different thread :) On Jun 29, 2:15 am, tariq masood <tariq...@hotmail.com> wrote: > Dear Sir, > > I have a problem to addition of two variables in iReport 3.5.0. > > I have two variables of Integer type. > > one is $V{varmasterreport} which is getting from master report and second is > $V{r_variable} which is getting from subreport. > > i created a third variable sumofvar with variable expression > > new Integer($V{varmasterreport}.intValue() + $V{r_variable}.intValue()). > > When i want to display sumofvar then it displaying null . > > My report is successfully compiled and run. > > Sir, Please help me to resolve this issue. > > Awaiting your kind response. > > With Best wishes > > Tariq Masood --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---