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

gellie

Members
  • Posts

    10
  • Joined

  • Last visited

gellie's Achievements

Apprentice

Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. Hi, is it possible to name the field for a subreport in the template?
  2. Hi, is it possible to do an automatic enumeration for several paragraphs? E.g. I have 3 paragraphs.. 1.1, 1.2, 1.3 … paragraph 1.1 is always shown but 1.2, 1.3 have show-when expressions…in case that 1.2 is not shown 1.3 should become 1.2
  3. Hi, is it possible to configure header and footer, so that they can be different on each page? E.g. I would like to have picture 1 on the first and last site of the report, all other pages should show picture 2
  4. thx for you answer, I´m not sure if I understand you right...the subreport is called once...if I execute it standalone the value is ok...if I execute the mainreport, the value of the variable in the subreport is like the value of the returnvar. I set calculation to nothing for the returnvalue, nothing changes... I need to sum the values in the subreport and return them to the mainreport... What is wrong? *EDIT* it seems that the type of the variable is the reason for this problem...if I work without returning (just calling the subreport and display it in the master) values, there is still the same problem...if I change the fieldtype into string the value is ok, if it is an integer it is wrong.. Post Edited by Frank Gellhorn at 12/09/08 16:14
  5. hi, this is the code from the subreport: <field name="creditAmount" class="java.lang.Double"> <fieldDescription><![CDATA[annuity/creditAmount]]></fieldDescription> </field> <variable name="summe_annu" class="java.lang.Double" resetType="Report" calculation="Sum"> <variableExpression><![CDATA[$F{creditAmount}]]></variableExpression> </variable> the mainreport: returnvar: <variable name="Summe_Annu" class="java.lang.Double" resetType="Report" calculation="System"> </variable> the subreport call: <subreport isUsingCache="true"> <reportElement x="10" y="24" width="80" height="10" key="subreport-3" positionType="Float"/> <subreportParameter name="XML_DATA_DOCUMENT"> <subreportParameterExpression><![CDATA[$P{XML_DATA_DOCUMENT}]]></subreportParameterExpression> </subreportParameter> <returnValue subreportVariable="summe_annu" toVariable="Summe_Annu" calculation="Sum"/> <returnValue subreportVariable="var" toVariable="var"/> <subreportExpression class="java.lang.String"><![CDATA[".\WIB_DV_subreport_darl.jasper"]]></subreportExpression> </subreport> returnvariable output : <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="180" y="16" width="100" height="20" key="textField"/> <box></box> <textElement> <font/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{Summe_Annu}]]></textFieldExpression> </textField> hope it is ok so thx
  6. hi @all, is it possible to strech fields horizontally?
  7. Hi @ all, i have a subreport which calculates a value in the summary...this value is e.g. 1.500. In my mainreport the returnvalue is 150.000...how could this be?
×
×
  • Create New...