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

simonet

Members
  • Posts

    33
  • Joined

  • Last visited

simonet's Achievements

Contributor

Contributor (5/14)

  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. HI I have a variable in a subreport which is the total of Interests of debts. On Printing it's shown, but the returned value is null. Infact on Printing it 's not soctracted at the income, or better, the result is null because it is also null. But as said before, the subreport goes well and the value is shown.... I checked the increment type of the target variabile, set to report, and the reset type set to report. variables are both double. what happened ? regard
  2. HI I have a variable in a subreport which is the total of Interests of debts. On Printing it's shown, but the returned value is null. Infact on Printing it 's not soctracted at the income, or better, the result is null because it is also null. But as said before, the subreport goes well and the value is shown.... I checked the increment type of the target variabile, set to report, and the reset type set to report. variables are both double. what happened ?
  3. HELLO I want to use values of fields or variables of subdataset, but whne I put on of them inside the sheet, onto a band, I get problems saying that they could be found ? How can I use their value ? From the report field or variable their element arent even shown Thanks, regard ! F.S.
  4. Hi I should save the output of the JRHtmlExporter in a database instead of the file system. In this second case it creates a folder where it inserts px and images. I would like to know how to get the stream of all the elements being saved in the folder and save them to the database separately. regards
  5. If I shall write a class, what kind of class shall I write ? In other words how do u use this class loader.... regards
  6. to make the JasperManagerFiller to find subreports of a report inside a database, where can I edit the REPORT_CLASS_LOADER parameter ? in the file jrxml ? what shall I write ? the url of the database ? regards
  7. Hello I have thousands of file.jasper stored in a xml database called eXist. My software run on Linux, but those jasper are uploaded by a windows site.... I can download and get the report with its subreports, then I fill all the subreports with the java method JapserExporterManager.fillReport and I get all the JasperPrint. I add a Parameter to the report Jasper_Print_List with the List of JasperPrint of its subreports. Nevertheless I get an error saying that the Exporter cant find obviousely c:document and settingetc etc a subreport.jasper... How can I solve this problem ? Thanks
  8. and if there are more columns than 1, how can I get them ? Post edited by: simonet, at: 2007/11/26 13:54
  9. Hi I have a file.jasper which is being loaded by the java method: JRLoader.loadObject(its bytes).... to get its subreports I had to scan all the bands like: JRElement[] elem = null; elem = report.getDetail().getElements(); if(seekSubReports(elem)==-1) return false; //It DOESNT MATTER elem = report.getTitle().getElements(); if(seekSubReports(elem)==-1) return false; elem = report.getPageHeader().getElements(); if(seekSubReports(elem)==-1) return false; elem = report.getPageFooter().getElements(); etc etc GROUPS INCLUDED !! ISN'T THERE A WAY TO GET AN ARRAY OF BANDS AND SCAN IT with a for iteration INSTEAD TO DO AS SHOWN ABOVE !!! IT'S SO UGLY !!!! Thnak you very much
  10. GREAT !!! Thank you very much Regards 74B10 simonet
  11. Infact I cant find methods from JasperReport class which return a SourceExpression....
  12. Well I have jasper Files stored in a database, I do not know which are the reports and subreports. I only know the name of a report. From another site I download the jasper file which is the main Report by my software using the HttpClient and the GetMethod. I make a JRLoader.loadObject(its bytes) and cast into a JasperReport. Can I go up the subreport name by using JasperReport methods ? Because I ask myself, how can IReport fill its report with its subReports..... with its library ?!?!? then jasperreport JAR has not library which allow to get SubReports name from a jasper... Thanks advancetly !!!
  13. Hi I loaded a jasperFile and got an object JasperReport in Java. which methods shall I use to get the subReports names ? Thanks
  14. I found a way: I use a JRLoader and cast it into a JasperReport. Now I have its instance and I can see its parameters. I m seeking how to get the subreports name !
×
×
  • Create New...