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

marianela

Members
  • Posts

    43
  • Joined

  • Last visited

marianela'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. Please!!!! I really need to solve this issue... somebody? is my explanation clear? do I need to explain my self better??? Please... :S Marianela
  2. Sorry... I can't attached the image.. Post edited by: marianela, at: 2008/05/21 21:35
  3. Hi everyone¡¡ I'm facin a similar problen in my web app. I used to use Ireports 1.2.7 (JR same version) to export my reports to PDF or XLS files. 2 weeks ago, we decide to upgrade the tool to Ireports 2.0.2; I change all the necesary jars in my classpath; but now I'm facing a big problem: Since that change, my xls reports are not as cool as they used to be (with my old version of IR), now it seems that my app just ignore all the sentences where I try to set the parameters to export (like: IS_WHITE_PAGE_BACKGROUND) so my reports looks like the image attached. Here is a part of my code: JasperPrint jasperPrint = JasperFillManager.fillReport(new FileInputStream(reportFile), parameters, conn); JRXlsExporter xlsExporter = new JRXlsExporter(); xlsExporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint); xlsExporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, outFileName); xlsExporter.setParameter(JRXlsAbstractExporterParameter.IS_DETECT_CELL_TYPE, Boolean.TRUE); xlsExporter.setParameter(JRXlsAbstractExporterParameter.IS_ONE_PAGE_PER_SHEET, Boolean.FALSE); xlsExporter.setParameter(JRXlsAbstractExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS, Boolean.TRUE); xlsExporter.setParameter(JRXlsAbstractExporterParameter.IS_WHITE_PAGE_BACKGROUND, Boolean.FALSE); xlsExporter.exportReport(); What am I doing wrong?? Why the export parameters are ignore with the upgrade?? Pleaseeeee... I relly need help... I'm desperate... Thanks a lot... Marianela Post edited by: marianela, at: 2008/05/21 21:29 Post edited by: marianela, at: 2008/05/21 21:31
  4. Hi everyone¡¡¡ I'm facing the same issue here. I need to show an amount in words in my report.... Can anyone guide in order to achive this??? I really have no clue.... Thanks a lot in advanced... Regards Marianela ;)
  5. Hi everyone¡¡ I'm facing the same problem that you were talking about here... I was trying to understand what to do in order to call a StoredProcedure from Oracle that returns a cursor with a lot of rows to display in the report...but sadly I'm so confused that I really lost track here.. Please.... Does anyone can provide me the steps to follow to achieve this requirement? Pleaseee¡¡¡ I really need help... Thanks a lot in advanced... Regards for everyone... Marianela :S
  6. Hi hmehta, Did you find a solution?? I'm facing the same requirement here... If you have a solution, Could you please help me??? Thanks a lot in advanced.. Regards, Marianela ;)
  7. Hi nairsunil and everyone¡¡ I'm facing the same problem here, but I could find a solution in the forum.... If anyone has a sugestion or something, please let me know...I really need to achive this.. Thanks a lot in advanced.. Regards, Marianela
  8. I'm facing the same situation here¡¡ I need to achieve an hyperlink to generate a new report passing a Parameter. Any idea how to do that??? Any suggestion, help or something will be really appreciated... Thanks a lot in advance... Regards, Marianela ;)
  9. Hi aniruddh4u, Thanks a lot for your awswer, but I'm still having my problem... I decide to look for another way to achieve what I need. Thanks a lot again... Regards, Marianela ;)
  10. Hi cHaOs667, Thanks a lot for your answer... I tried use your idea but I obtain the following error... Code:it.businesslogic.ireport.ReportClassLoader@14f1544 net.sf.jasperreports.engine.JRException:Â ErrorsÂwereÂencounteredÂwhenÂcompilingÂreportÂexpressionsÂclassÂfile: 1.ÂTheÂoperatorÂ!ÂisÂundefinedÂforÂtheÂargumentÂtype(s)Â int valueÂ=Â(java.lang.Boolean)(newÂBoolean(!((java.lang.Integer)variable_SubrptCount.getValue()).intValue()Â==Â0)); ...ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 3Âerrors ... ÂÂÂÂ Any suggestion??? anyone??? Pleaseeeee, I really need help. Thanks in advanced, Regards, Marianela ;) Post edited by: marianela, at: 2007/03/28 16:17
  11. Hi, I'm facing the same problem here, Did you ever found a soolution for this??? If so, Could you please share it with me???? Thanks a lot in advenced, I will really appreciate your post... Regards, Marianela
  12. Hi everyone¡¡ Sorry to bother you with this (apparently silly) problem, but I hope some body can help me... I have a report that has a group and in the detail band has a subreport. What I want at first (and already achieve) is to return the REPORT_COUNT from the subreport to master report. Now that I have that variable in my master report, I want to use it in an expresion that let me not print the groupheader if there is no data return by the subreport. I think that maybe this expreesion should work: Code:( $V{SubrptCount}.intValue()==0 ? Boolean.FALSE : Boolean.TRUE )But I was wrong.. :( Then I think that could be something like... Code:[code]new java.lang.Boolean($V{SubrptCount}.intValue()!=0)But this didn't work either.. I don't understand what is the problem, but when I use any of those espression it oly works with some records..It's like some numbers (167,133,etc) are taking like 0 and some 0 are taking like others...:blink: I know this sound a little confuse...but this is my problem... Pleaseee I really need help..Anything will be appreciate Marianela
  13. My problem was actually in my query, I was passing the parameters correctly. Well I fix my problem... Thanks a lot¡¡¡ Regards, Marianela ;)
  14. Hi, Sorry to bother you, but I'm facing the same problem...Could you please tell me if you solved it?? Thanks a lot, i really appreciate your attention... Regards, Marianela ;)
  15. Hi¡ The samples folder is in the jasperreports file, not in the ireports file. For example,in my case I have the file in: jasperreports-1.2.7demosamples That means that have to download JasperReports (if you don't have it yet) and you will obtain the samples file. I hope this helps. Regards, Marianela ;)
×
×
  • Create New...