Jump to content
Changes to the Jaspersoft community edition download ×

Evaluating fields within fields

Recommended Posts

By: Brian Barnes - tasch

Evaluating fields within fields

2002-12-06 01:11

I am displaying a field from my database and wish to insert another field into this filed e.g.


<textField evaluationTime="Page">

<reportElement positionType="Float" x="0" y="160" width="523" height="250"/>

<textElement textAlignment="Justified"/>

<textFieldExpression class="java.lang.String"><![CDATA[$F{PARAGRAPH}]]></textFieldExpression>



filed $F{PARAGRAPH} is a text field and contains $F{PRODUCT} - I can't seem to get JasperReports to evaluate the inner field PRODUCTS.


Any Help Please



By: Teodor Danciu - teodord

RE: Evaluating fields within fields

2002-12-07 01:57




Field values cannot contain field references.

This is also true for parameters and variables.


There is no recursive evaluation of expressions.

You have to find another way to obtain what

you want.


Thank you,


Link to comment
Share on other sites

  • Replies 0
  • 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...