Jump to content

incirlikhodja

Members
  • Posts

    20
  • Joined

  • Last visited

incirlikhodja's Achievements

Contributor

Contributor (5/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. Thanks! That was the issue. The default had been set to a value. I cleared the value and all is well now.
  2. When I attempt to compile my main report, the compiler fails saying that it cannot find my subreport. I receive the following error message: <see the message in the Code area> Code:  Compiling to file... C:\Documents and Settings\jerry_dunn\My Documents\My Projects\Subversion_Repository\Redesign\icps\icps-web\src\web\WEB-INF\reports\pt\DD592SummaryReport\DD592SummaryReport.jasper  Compiling subreports....  Unable to locate the subreport with expression: "$P{SUBREPORT_DIR} + "Garnishments01.jasper"".java.lang.Exception: C:\ICPS\src\icps-web\icps-web\src\web\WEB-INF\reports\pt\DD592SummaryReportGarnishments01.jrxml not found.     at com.jaspersoft.ireport.designer.utils.Misc.locateFileFromExpression(Misc.java:1373)     at com.jaspersoft.ireport.designer.compiler.IReportCompiler.compileSubreports(IReportCompiler.java:1403)     at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:508)     at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)     at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997) Compilation running time: 2,328!
  3. I have numeric and text values on a report that were produced by a scriptlet. In the report specification file (i.e. the jrxml file), I have applied bold face formatting. However, when the report renders, my values are not bold faced even though I have indicated to do so. This is nonconditional formatting. So this bold face formatting should take place. Any explanation for why jasper behaves in this manner for report values that were produced via scriptlets?
  4. Portugese text "Bonus de Língua" incorrectly appears as "Bonus de LÃngua". Special characters appear incorrecltly sporadically. There appears to be no rhyme or reason. What are the possible causes?
  5. I need to use a parameter of Collection type in the SQL of a report. I need to loop through the Collection items in the SQL. Can anyone provide sample code of how to do that? Thanks so much!
  6. I have two variables in the No Data Band. When I test for no data, the No Data Band appears as it should; however, the variables in the No Data Band do not appear. Both variables use scriptlets. One variable, takes today's date, passes it to a scriplet which renders the date in the Portugese language. The other variable takes one of the input parameters and prints it with some text. Both variables use scriptlets. Do scriptlets not execute when the No Data Band is encountered? I have tried different evaluation times: report, page, auto. Nothing seems to work. Please advise.
  7. I have a report containing a summary. The summary ejects to a new page and contains the page header in it. The page header contains a variable called OrgHeader that contains on of two possible values. "Organization: " + $F{org_name_tx}" OR Organization: " + "Summary" In order to assing the variable the value of "Organization: Summary", I have to somehow detect or know that I am on the last page of the report. Is there a parameter or system variable or some means of user defined variable that I can use to detect the last page?
  8. I figured it out! On the properties of the report at the root level there are properties "Summary on Page" and "Summary with Page Header". Now...the only thing remaining is to figure out how to determine within a variable that I am on the summary or the last page of the report. I need to evaluate that and then set the header variable to say "Summary" Instead of Organization. Evaluating the field organization is not helping since it never seems to evaluate as null even though it is null on the last (summary) page. Any insights here? Post Edited by incirlikhodja at 08/10/2010 18:59
  9. I have a report in which I am ejecting pages on a group called "Organization" When I am at the end of the report, I would like to have a Summary page with a header. How do I eject to new page on the summary band, force the page header, and check within a variable that I am at the end of the report so that I can dynamically set a header to say "Summary" instead of "Organization? I tried inserting a page break in the summary band. However, that does not force a page header on the next page with it. Also, is there a system variable, value or property that I can check to see if I am at the end of a report? Please advise. cheers, Jerry
  10. That worked! Thank you VERY much!! There was one more item I had to do. I had to set the object to grow with overflow as well because some subreports had to expand over several pages. It would be nice if in a future release they would allow subreports to have borders and padding like other objects. It would make it much easier. Anyway, Thanks again! GREATLY appreciated!
  11. I have a detail band with a subreport in it. I need to surround it with a border, however when I right-click the subreport object on the main report, there is no option in the pop-up for "borders and padding". I have also looked for a border option in the properties of the subreport. This subreport will grow and shrink. So I need for the border surrounding the subreport to grow and shrink with the subreport. How do I accomplish this?
  12. I have a fundamental misunderstanding of how the "No Data" Band is used or how it works. I have a main report with several subreports, all of which use the No Data Band to indicate that there are no rows of data. It simply contains a header and a message indicating that there are no records (i.e. the subreport is empty). If my SELECT statement in my query yields no data, I would expect the No Data Band to display its contents. Am I wrong to make this assumption? Is there something I need to toggle or switch on or do in addition? Please advise. Currently nothing displays when there is no data, not the No Data Band, not anything.
  13. I need the ability to do a running total on a column in both the header and the footer of a page. The header total must show the total of the column prior to the current page's transactions have been summed and the footer must show the total after the current page's transactions have been summed. For example, the first page should display zeroes in the header total because nothing has been added yet; while the first page footer should display the totals of the first page's transactions. In the same example, the second page's header should display the same number as the first page's footer because the second page's transactions have not been added yet. However, the second page's footer should display a total that reflect's the first page's footer total PLUS the transactions on the second page. It's a running total. How do I perform that in iReports?
  14. I would like to use the COUNT function in Jasper Reports and need to know how to use it as I am getting an error. I have a string Field called bdg_id that I would like to count in a group Pay_Blck. I created a variable, changed the expression to bdg_id (which is string), indicated that I wish to COUNT on GROUP Pay_Blck. I have made the variable a type integer. I get an error which states "Cannot cast object 'B749' with 'class.java.string' to 'class.java.integer' I am not trying to cast the string to an integer. I merely want to count a field that is of string type called bdg_id in a group Pay_Blck and return an integer value of the Count. How do I do that?
×
×
  • Create New...