Jump to content

luked

Members
  • Posts

    49
  • Joined

  • Last visited

luked's Achievements

  1. Have you tried enclosing your case inside a parentheses?
  2. Have you tried creating a new style? Click on the style field in the report outline and create a new style, then once you have created that, right click on that new style and create and conditional style. In there you can put in an expression to make the field bold. then in your report text field in the properties window you can select the style you created.
  3. Have you tried making a style. In your outline under styles right click and ad new style. In the properties of that syle change it to the font you would like. Then go to the text field on your report which you want to have that font and in the style tab select the style you created.
  4. You could try adding this into a text field - new SimpleDateFormat("dd-MM-yyyy HH:mm").format($V{Your Variable})
  5. You should be able to select what you want in the group header section. You said you have got a group called headlines. You can create the group header (if you have not already) and in that band properties you can choose to start new page, reprint header on each page.
  6. It looks like you have placed your static text in the group band of your report. You can add a column header or page header and place your static text (Director, Favor, Percentage) in one of those bands.
  7. You can try using new date - new Date(new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss").parse(dateField))
  8. Have you tried converting your date format in your SQL query? I use the below in Oracle - cast(iuv.time_out as date) betwen to_date($P{START DATE}, 'YYYYMMDD') and to_date($P{END DATE}, 'YYYYMMDD')
  9. Morning, You can try ticking the remove line when blank box in SF{COUNTRY}.
  10. Morning, without seeing your entire report all I can say is check the order of your variables, as ireport will calculate them in that order. Hope this helps.
  11. Hi there, Sorry I am unable to see your attachment. Can you try using a print when expression, for example print when $V{ANIMALS_MEASURE}>=1.
  12. Morning, 2 ways you can try. 1 is to change the formatting of the date in the textfield as per attached picture. 2 is try the following - $F{signDate}.substring($F{signDate}.length() - 2)
  13. Hi there, Have you tried formatting your Oracle date select to_char(date_column,'dd.mm.yyyy') from table;
  14. Hi there, You can try the following - java.lang.Double.valueOf($F{YourString})
  15. Hi there, I had a similar situation where I needed the report to return the previous month. What I did was create a date parameter and then a second parameter which i have - DateUtils.addMonths($P{Date},-1) as the expression. Hope this can help you out.
×
×
  • Create New...