thanks for post. More over am using "Print When Expression". I mean geting front-end value and checking as part of "Print When Expression". But while generating report, in group footer sub-total value displaying multiple times. That group i was choosen as option in front-end. In band, "Print When Expression" value is like new Boolean($F{myTextData}.equals("optionValue") ? true : false ). Here "optionValue" is picking from front-end. Am using iREPORT 1.2.8.
e.g. : empid empname sal Technology 123 abc 123.45 ADV.JAVA 124 def 234.56 .net 125 abcd 124.45 COREJAVA 126 defg 236.56 CRYSTAL 127 hijk 232.54 iREPORT 128 atc 129.45 COREJAVA 129 buy 128.45 COREJAVA 130 rnw 125.45 .net 131 bpl 121.45 JEE I have choosen JAVA from front-end, for JAVA values are CoreJava, AdvJava, JEE and for REPORTS values are iREPORT & Crystal. AdvJava value followed by servlets, jsp, ejb. For servlets (10 records), for 1st 3 records, sub total is coming and again for next 4 records sub-total is coming and again for remaining records sub-total is coming. For AdvJava, header is JAVA & AdvJava. The same scenerio for remaining options. But, i heard that due to many bands in report, the result will be reliable. But, it is not so. Please guide me guys to fix this bug. Thanks in advance.