Jump to content
JasperReports Library 7.0 is now available ×

peanut69

Members
  • Posts

    3
  • Joined

  • Last visited

peanut69'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. This is an interesting one. I have a Master report calling a subreport that contains subreports itself. This subreport should be displaying on the detail line in the master report. sometimes the subreport will not render on the line however the values from the subreport are included in the summations. This indicates that the subreport is being generated but not rendering. Any thoughts on this would be greatly appreciated. Thank you
  2. We discovered the solution to this problem. When declaring a variable that uses an expression. The variable needs to be defined lower on the list than all the operands used in the expression. This was our problem.
  3. Any help on this would be greatly appreciated: Have two exressions displaying on report, both setup identical. They are displaying differing results. Compared XML between them and have the following: ----------------------------------------------------- <variable name="numerator" class="java.lang.Double" resetType="Group" resetGroup="By_EMP" calculation="Nothing"> <variableExpression><![CDATA[new Double( $V{By_EMP_REG_HRS}.doubleValue()==0 ? 0.00 : (($V{By_EMP_PAID_ABS_HRS}.doubleValue()-$V{By_EMP_STAT_HOL_HRS}.doubleValue()-$V{By_EMP_VAC_HRS}.doubleValue()) / $V{By_EMP_REG_HRS}.doubleValue())*100.00 )]]></variableExpression> </variable> ----------------------------------------------------- <variable name="By_EMP_STD_ABS_PC" class="java.lang.Double" resetType="Group" resetGroup="By_EMP" calculation="Nothing"> <variableExpression><![CDATA[new Double( $V{By_EMP_REG_HRS}.doubleValue()==0 ? 0.00 : (($V{By_EMP_PAID_ABS_HRS}.doubleValue()-$V{By_EMP_STAT_HOL_HRS}.doubleValue()-$V{By_EMP_VAC_HRS}.doubleValue()) / $V{By_EMP_REG_HRS}.doubleValue())*100.00 )]]></variableExpression> </variable> ----------------------------------------------------- the second one is producing the word NULL or 100% whereas the first one produces the correct results. Any thoughts?
×
×
  • Create New...