uouser
-
Posts
29 -
Joined
-
Last visited
Content Type
Forum
Downloads
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Security Advisories
Events
Profiles
Posts posted by uouser
-
-
You can use two sub reports each handling its own section in your main Driver report e.g. a sub report for section A and a sub report for section B
Or you can use report groups to achieve same as your Excel spreadsheet.
-
From my experience, it only happens when your display sections in sub-report contains extra HEIGHT.
Or maybe you are using page break at the end of your sub-report. Thanks.
-
I have used crosstab in one of my report. Is it possible to achieve what I have described in right side of the image below?
My crosse tab originally continues its printing on next page where as I have almost 60% of the page 1 blank. Any possibility I can tweak my crosstab so it first uses the space available on the same page instead of going on to next page? Any help will be appreciated. Thanks.
-
I had to add a row group and column group for it to work. Thanks for the solution.
-
I am unable to try this as we are using Jasper with our PHP application and I have linux server ... I will have issues getting this working on our server .... but I managed to get this working after tweaking my SQL query that I use to retrieve my data. Thanks for your help anyway.
-
I managed to get this working. I realised that the dataset returned via my SQL queries were not having entry for each columns e.g. I was having a row returned for COLUMN 1 and COLUMN 2 for ROW1 but then onwards I was either having a row returned for COLUMN 1 or a row returned for COLUMN 2 by my SQL. Something like
General Expenditure Internal Only
General Repairs 5 5
Cleaning 5
Accountancy 5
Insurance 5
and so on ....
I changed my SQL query so it returns 0 if there is no data to be retrieved for COLUMN 1 or COLUMN 2 and that made it working in the sorting order I want havin the 'Data is pre-sorted' flag checked for the crosstab. LIKE
General Expenditure Internal Only
General Repairs 5 5
Cleaning 5 0
Accountancy 0 5
Insurance 5 0
Hope this is helpful for others.
-
Hi,
I want to add a Comment column after the Total column in crosstab. Is it possible? If YES then can someone please help me out how?
I have found a similar question asked ages ago but no asnwer onit.
What I am looking is similar to what is being asked in the post below:
http://community.jaspersoft.com/questions/532287/add-data-after-column-total-crosstab
Hope to hear soon. Thanks.
-
Thank you lucianc for your reply. I have raised the ticket on tracker which is:
http://community.jaspersoft.com/ireport-designer/issues/2584
I will try the solution you suggested. Will let you know how it went. Thanks
-
Thanks for your reply lucianc
Here are the files attached. The report file is attached as .TXT file as the forum didn't allowed me to upload the JRXML format file. I have also attached the CSV data files which is used with main report SQL and sub-dataset SQL. Hope to hear soon. Thanks.
/sites/default/files/files/Report%20File.txt
-
I tried the option of concatenating the display_order value with service_name column to get the sorting done correctly. But it takes whole as string and does the sorting as:
22 - Electricity
25 - Accountancy Fees
26 - Management Services
......................
......................
4 - General Building Repairs/Works
where as I need the service name to displayed in the order of display_order field
-
Hi,
I am using crosstab in my report and I am having problem with the data it displays. It repeats the column on the report when I use 'Data is pre-sorted' flag on crosstab. Please check the image attached.
When I uncheck the 'Data is pre-sorted' box, I get the columns correctly but the rows are ordered alphabetically whereas I want rows in the order shown in the image.
The data passed to the crosstab via Dataset is:
The sorting order I am using at the moment is:
ORDER BY display_order ASC, block_schedule_ID ASC;
Can anyone please help. Thanks.
-
You need to add you sub-report under the DETAILS section of your master report. this way your subreport will be invoked for each child giving you the required output. I hope this helps.
-
I have managed to resolve the issue MYSELF. All I did was to uninstall all type of Java/JDK softwares, Uninstall All iReprot softwares .... Delete every entry from registry regarding Java and iReport/JasperSoft ... Delete every entry from msconfig if found ... Delete iReport/JasperSoft folder from Program Files and Delete Java folders from Program Files as well ... Do a fresh Installation of JDK and then iReport ... and all works like a charm :)
I have upgraded from iReport 3.7.0 to 4.7.0 recently. When I open iReport 4.7.0 or any of my existing report in it, it fails giving me the designer window and shows error messages. I have attached the error messages as separate files and the log file with this ticket.
I have been struggling to upgrade my iReport Designer software from 3.7.0 for every version released afterwards. The error is same, unable to open reports with designer palletes and windows, and gets error messages everytime I run the software. I have tried all options from time to time but no luck. Can someone please help me on this. Thanks.
Post Edited by sumairrana at 08/30/2012 10:17 -
Anyone please help :|
-
Still waiting for a reply. Does anyone have any clue on it. I will aprreciate your help. Thanks.
-
I have managed to resolve the issue MYSELF. All I did was to uninstall all type of Java/JDK softwares, Uninstall All iReprot softwares .... Delete every entry from registry regarding Java and iReport/JasperSoft ... Delete every entry from msconfig if found ... Delete iReport/JasperSoft folder from Program Files and Delete Java folders from Program Files as well ... Do a fresh Installation of JDK and then iReport ... and all works like a charm :)
I have upgraded from iReport 3.7.0 to 4.7.0 recently. When I open iReport 4.7.0 or any of my existing report in it, it fails giving me the designer window and shows error messages. I have attached the error messages as separate files and the log file with this ticket.
I have been struggling to upgrade my iReport Designer software from 3.7.0 for every version released afterwards. The error is same, unable to open reports with designer palletes and windows, and gets error messages everytime I run the software. I have tried all options from time to time but no luck. Can someone please help me on this. Thanks.
Post Edited by sumairrana at 08/30/2012 10:18 -
Gaurav,
Unfortunately nothing, above, worked for me. I think i used sub-report to resolve this issue. May be that is of some help.
Regards,
Sumair
-
Thanks for coming back with a response. I tried this option and I get 'Error: SQL problems: You have an error in your SQL syntax; check the manual that corresponds to your MySQL version for the right syntax to use near toString()' error message.
I am passing all string values in the collection. it seems like it doesn't accept any function called after the parameter.
Thanks for the help in advance.
-
Hi,
I have created a new input parameter in my report as java.util.Collection. I am using it in my SQL query as:
SELECT parameter from table
Where parameter1 IN ($P{collection_input}.toString())
I am getting error in query designer as 'null.toString()' does not exist. If I don't use toString() then the report just simply doesn't work at all.
I tried to search on the forum and couldn't find any help. Does anyone knows how to deal with Collection opbject as input parameter in iReport? Thanks for help in advance.
-
Hi,
I have upgraded my iReport software from 3.7 to 4.x version. I have quite a lot reports created in 3.7 and now I get this error when I open any report or create a blnak new report. The error is:
Error loading the report template
Message:
java.lang.reflect.InvocationTargetException
Level:
SEVERE
Stack Trace:
null
java.awt.EventQueue.invokeAndWait(EventQueue.java:998)
javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1320)
com.jaspersoft.ireport.designer.JrxmlVisualView.run(JrxmlVisualView.java:526)
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
net.sf.jasperreports.engine.convert.ReportConverter. (Lnet/sf/jasperreports/engine/JRReport;Z)V
com.jaspersoft.ireport.designer.ReportObjectScene.setJasperDesign(ReportObjectScene.java:148)
com.jaspersoft.ireport.designer.ReportDesignerPanel.setJasperDesign(ReportDesignerPanel.java:154)
com.jaspersoft.ireport.designer.JrxmlVisualView$3.run(JrxmlVisualView.java:530)
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
java.awt.EventDispatchThread.run(EventDispatchThread.java:122)Any help in this regard will be highly appreciated. Thanks.
-
It is frustrating .... I re-installed iReport again .... no joy whatsoever .... surely someone knows answer to this ... it is not a strange issue ... i am sure many people might have faced this issue. I have pasted the error below
Code: Error loading the report template Message: java.lang.reflect.InvocationTargetExceptionLevel: SEVEREStack Trace:null java.awt.EventQueue.invokeAndWait(EventQueue.java:998) javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1320) com.jaspersoft.ireport.designer.JrxmlVisualView.run(JrxmlVisualView.java:526) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)net.sf.jasperreports.engine.convert.ReportConverter. (Lnet/sf/jasperreports/engine/JRReport;Z)V com.jaspersoft.ireport.designer.ReportObjectScene.setJasperDesign(ReportObjectScene.java:148) com.jaspersoft.ireport.designer.ReportDesignerPanel.setJasperDesign(ReportDesignerPanel.java:154) com.jaspersoft.ireport.designer.JrxmlVisualView$3.run(JrxmlVisualView.java:530) java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) java.awt.EventQueue.dispatchEvent(EventQueue.java:597) org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Post Edited by sumairrana at 07/15/2011 11:32 -
Thanks for your reply Gaby38 ... I am taking the value of 'para' at run time ... i tried with default value but then it always produce the report with the default value whatever the input i gave at run time
-
Thanks for your reply gglulu .... I am using MySQL .... I tried this but no success .... it again puts null when processed .....I tried to put default value as welll ... it works with default value but then it never takes the value i entered at run time ..... it only produced report every time with default value ..... Anything else you may think of ... or is it not allowed to use parameter in select clause ???
-
Can anybody reply on it please ... it is the second post I have made and no reply :( ... seems like a DEAD forum :(.
PHP/Java Bridge net.sf.jasperreports.engine.util.JRStyledTextParser issue
in Products
Posted
I have a sample test PHP page and Jasper report. It appears I am getting following error on export to PDF step. The error is as follows:
The setup on my server is as follows:
lava version "1.7.0_06"
Java SE Runtime Environment (build 1.7.0_06-b24)
Java HotSpot 64-Bit Server VM (build 23.2-b09, mixed mode)
php PDF library PDFlib-Lite-7.0.5p3
php-java-bridge_6.2.1
jdk-7u6-linux-x64.rpm
apache-tomcat-7.0.29
I have also tried:
CATALINA_OPTS="-Djava.awt.Headless=true
I have a similar production server where with same above setting, I am able to run jasper reports from my PHP website.
My test PHP file looks like:
My test Jasper report looks like:
Any help is appreciated. Many thanks.