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

rothkamp

Members
  • Posts

    1
  • Joined

  • Last visited

rothkamp'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. Hi guys, I'm having a problem with a summary and a text field that has isStretchWithOverflow enabled. The report i used has 3 columns: Code:date(Date) text(String) value (BigDezimal) (optional line 2) (optional line 3) (...) The text can consist of multiple lines, which are put together in the JRdatasource by adding 'n'. I need a carry over at the end of each page. And now the problem: If the last entry of a page consists of multiple lines and there is only space left for one line, the JR adds the value to the summary but decides to put the entire entry to the following page. For example: Code:[code]01.01.2008 Line 1.1 10.00 $ 01.01.2008 Line 2.1 10.00 $ Line 2.2 01.01.2008 Line 3.1 10.00 $ Summary 40.00 $ <- wrong --------------------------------- Next Page Carry Over 40.00 $ <- wrong 01.01.2008 Line 4.1 10.00 $ Line 4.2 Line 4.3 This is how i declare the variable: Code:[code]<variable name="Summary" class="java.math.BigDecimal" resetType="Report" calculation="Sum"> <variableExpression><![CDATA[$F{value}]]></variableExpression> <initialValueExpression><![CDATA[$F{value_old}]]></initialValueExpression> </variable> Please help
×
×
  • Create New...