Jump to content
Changes to the Jaspersoft community edition download ×

Using Variable in Title section


renjithraj

Recommended Posts

hi

i'm new to using jasper reports...

 

<variable name="total_units_sold" class="java.lang.Integer" resetType="Page" calculation="Sum">

<variableExpression><![CDATA[ $F{unitsSold} ]]></variableExpression>

<initialValueExpression>new Integer(0) </initialValueExpression>

</variable>

 

i need to use this variable (total_units_sold) in title section of the report.

how ? please help me as soon as possible...

 

thanks

renjith

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...