Jump to content
We've recently updated our Privacy Statement, available here ×

Nils Pudenz

Members
  • Posts

    8
  • Joined

  • Last visited

Nils Pudenz's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi , you should play around with the "evaluation time" of this text field. I use iReport , there you find it in the properties of the text field on the tab with the name "text field". It look like this size=339]http://www.jasperforge.org/components/com_joomlaboard/uploaded/images/iReport_EvalTime.png Set it to report , which means the variable is calculated at the end of the report. If you have this in the Header an it is set to "now" you will receive a "0", because no subreports have been created at the beginning. You could also hack the xml file of course Regards Nille Post edited by: Nille, at: 2008/05/23 12:29
  2. It is not exactly the same problem , but we use this : ( $P{ReportName}== null || !$P{ReportName}.equals( "UW Information" )? ReportLoader.loadLayout("RisikokatalogEmpfehlungZeile") : ReportLoader.loadLayout("RisikokatalogEmpfehlungZeileLight") ) To load two different depending on which report we want to print. So you might try using expr. ? case 1 : case 2 instead of if than else .
  3. Hi Lucianc That's it. You saved my weekend! With the cloned object of the parameter map it works perfectly. As a hint for others: I changed this for all my subreports in the properties window of iReport like this : size=384]http://www.jasperforge.org/components/com_joomlaboard/uploaded/images/iReport_Hint.png Thanks a lot for your fantastic help. Regards Nils Post edited by: Nille, at: 2008/05/23 11:43
  4. Hi, i might be wrong , but could this be a font problem. An are you sure that this is a jasperreport problem. Have you check the filled jasperprint object ? We use itext to convert the jasperresults into PDF and provide some fonts to have a correct print. Before we had some font problems in itext. Regards Nille
  5. And here are the reports and the source code which produced the screenshots [file name=JasperBug-e8f49013681cbeaa094700f5969698d3.zip size=151773]
  6. I'm sorry . I have a nice little eclipse project whith which i can reproduce the problem. But zipped itr has more than 3 MB Ok here are screenshots. All three times we have the same datasource, only one field has some more or less "No text" lines.Standard zip [file name=Screenshots.zip size=101931]
  7. I've just recognized that my zip project is much to big for this forum . So here ist the project without the libs. It is a 7z file , which is not allowed so i renamed it to .zip. All the lib are missing but could be send by me if necessary. [file name=JasperBug.zip size=175532] Post edited by: Nille, at: 2008/05/21 14:02
  8. Hi , we are using jasperreports 2.0.0.1 and are facing a problem with missing data in a subreport. I build a little eclipse project which shows our problem. I tested also the versions 2.0.0.5 and 3.0.0. With both i had exactly the same problem. We have a cascade of subreports to build a complex report of sometimes more than 50 hundred pages. It is not just a list, but a complex document. But we have discovered that a subreport does not show all data of it's datasource. The problem seems to occur on page breaks. If the complete subreport is on one page everything is fine. If we have just one dataset on the next pages it is also fine. But if there is more than one dataset on a new page just the first one is printed . All others are lost somewhere in JVerticalFiller. The little eclipse project builds a datasource an creates datasource and builds a report. It also includes Screenshots of the problem (Screenshot folder) and a Readme.txt with a more detailed description. By adding just a few lines in the report before the subreport with the problem, the shown data changes. You can change the filler variable (which just adds some lines to a field in the report) in the little main class and suddenly you receive all datasets or less. Just one thing i can say, if there is a page break in this subreport you will receive just one dataset on the new page. Any help is heighly appreciated ! Regards Nille Post edited by: Nille, at: 2008/05/21 13:56 Post edited by: Nille, at: 2008/05/23 11:48 Post edited by: Nille, at: 2008/05/23 11:49
×
×
  • Create New...