djohns2
-
Posts
8 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Posts posted by djohns2
-
-
Have you tried 'new SimpleDateFormat'. I have found that invaluable for date formatting. You don't need to convert the date - which I assume you only did to try to get it to work another way.
new SimpleDateFormat("yyyy-MM-dd").format($F{some_dt}) [/code]
Works for $P, $V values etc. as well...at least for me. I am using Sybase ASE dates but I presume it should work for most? It is a JAVA function.
-
Thanks. That worked. Good point about saving this one.
-
Somehow I changed the layout in my JasperSoft Studio 6.0.3 application. When i run a report the Report Status now shows in a new window instead of as a fast view on the side toolbar. I have looked at various settings but cannot find one that says not to open a new window for this view. There is a Perspectives option in General but changing the Fast Views setting there did not change the result for this window. Any ideas on how to get this back?
-
Is it possible to modify the header information that JS Studio inserts when it opens a file. It looks something like this:
<!-- Created with Jaspersoft Studio version 5.6.1.final using JasperReports Library version 5.6.1 --><!-- 2014-09-23T10:28:52 -->[/code]
I would like to personalize it...add my user ID, etc.
-
I am not sure how to record this as a screen cast and I don't know what it would show? I can watch in the file Navigator as the report is compiling. If there are .jasper files for each sub-report they will just disappear as the master is compiling. There is no message or warning...they just go away.
I have tried this with the Auto Build checked and unchecked and got the same results. Here are the steps I use:
1) Import master and 3 sub reports from file system into Eclipse Project folder.
2) Add the single parameter they all share from Properties for each sub in the master
2)Preview Master...using One Empty Record to see what the page layout looks like
3) Eclipse/Jasper creates .jasper file for the first sub-report in the list, not for the rest.
4)Error message...Resource not found - it is the next file listed in the folder.
5) Manually compile both remaining files and the report will work..until I save a change for anything in the master report.6) Then the second two .jasper files will just disappear when I run the report.
-
The main report has one query, using a SP. The subreports each use different SPs. They each take the same parameter as the master. They all use the $P{REPORT_CONNECTION}. Same for another report I had, which also had three sub-reports but the main one there only had a querystring of 'Select 1' and the sub-reports did all the work.
-
I have a master report with three sub-reports. Every time I run the master the .jasper files for the second two get deleted and I have to re-compile them before the report will run successfully. Otherwise it complains that it cannot find the .jasper file. No duh - you just deleted them!! This happens with other reports which have sub-reports as well. Any idea why it is doing this? I am running JasperReports 5.2.0 in Eclipse 4.3.1 (I think...it is Kepler SR1 Build 20130919-0819). I see a Jasper Reports Property in Preferences of ...compiler.keep.java.file which is set to false but these are not .java files, they are .jasper. It didn't have any effect anyway when I set it to true. Is there some other setting in Eclipse that will keep these .jasper files once they are created so I do not have to go through the extra steps every single time!?
Dataset Query and Editor Doesn't work
in Products
Posted
I just updated to 6.4.3 and now can no longer use the Dataset and Query editor. I can not get it to open using either the button on the main editor window or by right-clicking on the report in the outline view. I tried to report this but got this error when I tried to submit:
I emptied the contents of the .log file then tried opening it both ways.
Here is the Hardware/Software Summary
Jasper Studio Preferences
Hopefully this helps someone figure out what is happening.