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

picht

Members
  • Posts

    2
  • Joined

  • Last visited

picht's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. We use this expressin in a text field: IF($P{P_JAHR}.equals( "NO" ),DATEFORMAT($F{MY_DATE},"MMMM yyyy"), DATEFORMAT($F{MY_DATE},"yyyy")) it means: Depending of the parameter p_year (YES/NO) it prints the date as 2015 or March 2015. The user can decide, in which language the output shal be generated. But the REPORT_LOCALE has no effect on this expression. I think, DateFormat.getDateInstance(DateFormat.LONG, $P{REPORT_LOCALE}).format( $F{MyDateField} ) will not work, because I need exact the format above not something like March 1, 2015. Thanks in advance. Carsten
  2. In Jasper reports 6.1.1 one can add a bookmark to a test field using bookmark property and level. I've dione this in a main report (i.e. main.jrxml) and in some subreports (i.e sub1.jrxml and sub2.jrxml) In PDF it should look like this: 1 BM1 (main) 2 BM2 (sub1) 3 BM3 (sub2) 4 BM4 (main) But this is what I get: BM3, BM2, BM1, BM4 Any idea, what goes wrong and how to fix? Thnx in advance Carsten
×
×
  • Create New...