adellapavan Posted May 30, 2013 Share Posted May 30, 2013 I have 10 bands.in front-end am choosing some options.Depends on option, particular band should display and remaining bands should enable. i.e. shouldn't process.Please quide me guys.or else can reach me at adellapavan@gmail.com. Link to comment Share on other sites More sharing options...
tedpet5 Posted May 31, 2013 Share Posted May 31, 2013 if the band would be displaying a string, you can click on the band's name in the Report Inspector, I will assume that the data is called myTextData.So with the band's name selected, bring up the properties menu and add this to the "Print When Expression":$F{myTextData}.length() > 0this will allow you to fly in different bands depending on the content of you datum. Basically, you are saying, only print this band if the length of the object (string) is more than zero characters (meaning one or more than one)Ted Link to comment Share on other sites More sharing options...
adellapavan Posted June 3, 2013 Author Share Posted June 3, 2013 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now