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

svenn

Members
  • Posts

    1,063
  • Joined

  • Last visited

  • Days Won

    1

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by svenn

  1. Set up a variable and use a condition and the count function. You can rest the variable value so try resetting it at various points until you get the result that you are looking for.
  2. Take a look at Scriptlet's. They allow you to perform actions when certain events in the report creation are triggered.
  3. isforPrompting only works when you run the report in iReports. It's for testing purposes. To pass your parameters from an application you need to use a Map object.
  4. 1) As far as I know, no you can not. This is my only major beef with Jasper Reports. It gets messy when you have to create a large number of subreports. Why are you doing this? Maybe you could use subselects within your main select statement to get the column information.
  5. We do version our reports in SourceSafe. What I'm taking about is a label that appears on the output of a Jasper Report that is visible to the user. That way when they have an issue with a report they can clearly id which version of a report they are running. It comes in handy when you have multiple clients running mutiple versions of your reports.
  6. What are other developers doing when it comes to helping clients identifying which version of a report they are running? In the past what we have done is manual update a field on the report. We used a combination of the Jasper report file name and a version control number. ie File name = report1.jrxml The label on the report would be report1_v1 report1_v2 etc What are others doing? Has anyone automated the process? One item that we are concerned with is that the sometimes developer forget to update the version in a manual process.
  7. This post might help you http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=&func=view&catid=9&id=211#211 Post edited by: svenn, at: 2007/04/30 16:00
  8. Open up the jrxml and take a look at the tags. isBold is a modifier on the font tag which in turn is a member of the textElement tag. You cannot modified the field directly using isBold.
  9. Yes it's worth it. I find that it's nice to have access too when I cannot remember the exact syntax for an operation. Reading through it also gives you a very good idea as to the what you can do with the tool.
  10. The order1177349290113_389233.java file is an intermediate file that is created between the jrxml and jasper file. You can turn the saving of this file off by doing the following Go to Options -> Compiler Un tick keep .java file (if available) No you cannot edit the orderScriptlet.java. Well you can but when you recompile your report the file is recreated and your file changes will be loss. You can create your own Scriptlet Class by extending JRDefaultScriptlet. You can then add a package reference to this file.
  11. Why not put the designs on a shared drive? That would give you the same thing.
  12. We have a report that use bmp images. When we process the report using JRRtfExporter we get an error message. If we convert the image to a JPG it works fine but the image looks horrible in Word. I've read that the JPG conversion to RTF is a problem experienced by other users of the product. Are bmp images supported by JRRtfExporter?
  13. I have custom formatting for an item on my detail line set up in a Jasper Report Scriptlet in the afterDetailEval() method. This works great. After all the details are printed I have a total in my group footer. I’m using a variable to calculate the total. I have set the reset type to “group†and the calculation type to “Sumâ€. What I want to do is apply the same formatting that I applied to the detail line in the afterDetailEval() method to the total on my group line. I’ve tried putting the formatting code in the afterGroupInit method. It looks like the sum total for the group is not available when this is triggered. Where would be the best place to put my formatting code? Is there something special that I need to do to pick up and manipulate the total in my group variable?
×
×
  • Create New...