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

asumoto

Members
  • Posts

    7
  • Joined

  • Last visited

asumoto's Achievements

Apprentice

Apprentice (3/14)

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

Recent Badges

0

Reputation

  1. Hello all, I am using ireport 0.1.0 and j2sdk1.4.2_07. My OS is Windows XP Service Pack 2. I need to use this ireport version because some of my old java program needed this version. I have problem for running ireport 0.1.0 at first i got this error message "class not registered" when i clicked on ireport.exe I visit this forum and i know that i need to install MSJAVX98.exe so i won't get this error report anymore. After I install MSJAVX98.exe and double click on ireport.exe i did not get the error message anymore. But the problem is my ireport did not run at all. After i double click it just show nothing... no operating at all and no program running. What i can do is just double clicking on the icon and there is show nothing.. Anyone can help me with this issue? thanks very much..
  2. hello, i am currently using ireport 1.2.6 and i am created a XY Line chart type. I have 2 fields lets said $F{DATE} and $F{SALES}. The $F{DATE} i put under X axis and the $F{SALES} i put under Y axis. When i view the report it give me value under X axis (date) under double value and 2.5 interval (2.5, 5, 7.5, 10, 12.5, 15, 17.5, 20, 22.5, 25, 27.5, 30). I need the report to show me the date in integer for ex 1, 2, 3, 4, 5, ..... ,30 for the date in X axis. Anyone know how to set the value for the X axis? i need this because i have the sales for every date in one month. Thank you...
  3. I am creating sub report and main report and i want to view it in my java program. The problem now I don't know how to call and passing the built in parameter (it is $P{REPORT_CONNECTION}) from my main report into sub report. Because if i do not passing the $P{REPORT_CONNECTION} , my main report will not be able to show the data from my sub report It always generate message like: "600414 [receiptDetailSubReport subreport filler] WARN query.JRJdbcQueryExecuter - The supplied java.sql.Connection object is null. " in my java program. NOTE : my sub report file name is "receiptDetailSubreport.jasper" Questions: * Anyone know how to solve this problem? Please help me... * Where can i get the sample source code for my java program to view my report? * what is JRXmlDataSource function? * Can i use it for get my data from report and view it in java program?
  4. i read the new implemented issues said in ireport 1.2.6 that "Connection/datasource no longer need for the subreport wizard " but i still can not see my sub report from my main report if i set the "Connection/DataSource expression" become "Don't use connection/datasource". But if i set the "Connection/DataSource expression" become "Use connection expression" with parameter $P{REPORT_CONNECTION} i will be able to see the data in subreport from my main report. Can anyone help me about this issue? I want to view my subreport from my main report without use any $P{REPORT_CONNECTION}. Pls help me how to use this new issues function?
  5. i am using ireport 1.2.5 and jdk1.5.0_08 and i am creating subreport and main report. however when i tried to view my report from my java program it give me error message like below: "query.JRJdbcQueryExecuterÂÂ-ÂTheÂsuppliedÂjava.sql.ConnectionÂobjectÂisÂnull.Â" my main report unable to display data in subreport. The same message appear in ireport compiler too if i set the "Connection/DataSource expression" become "Don't use connection or datasource" under subreport properties. But if i set the "Connection/DataSource expression" become "Use connection expression" with $P{REPORT_CONNECTION} i will be able to view the subreport's data from main report . But thats in ireport compiler. Now i don't know how to implements it in my java program. Anyone can help me pls? Where can i get the sample source code for viewing jasper file in java?
  6. try to test your connection between ireport and your oracle db in connection properties. Does the connection linked successfully?
  7. I am creating subreport contain 2 jasper file as following the instruction on how to create subreport on jasper website (http://www.jasperforge.org/images/stories/Documentation/ireports/swf/Subreport_viewlet_swf.htm). I have header.jasper(as main report) and detail.jasper(as subreport) files. After i compiled the detail.jasper and header.jasper and i tried to execute the header.jasper with active connection it gave me message like below: "3811211 [detail subreport filler] WARN query.JRJdbcQueryExecuter - The supplied java.sql.Connection object is null. " I tried to compiled and execute both report with active connection separately and it can show me the data for both report separately. However when I tried only to execute the header.jasper (as this is the main file and contain detail.jasper as subreport) with active connection, it only show me the data from the header.jasper without the data from detail.jasper. What i means, i can not see the subreport data from my main report although i already include the subreport in my main report. I already setup the parameter and passing parameters too into subreport. Can anyone tell me what is the meaning by the message? Thanks very much.
×
×
  • Create New...