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

field not found when compiling JRXML


david.eaton

Recommended Posts

I'm using iReportDesigner 5.5.0, and was making a test JRXML. I added a text field with a value of $F{pricing_date} and added "pricing_date" to the list of "fields" on the Report Inspector panel (no properties or description set for the field).

The resulting JRXML has the "pricing_date" field defined:

<field name="pricing_date" class="java.lang.String"/>

<field name="pricing_date" class="java.lang.String"/>[/code]

And it has a text field with $F{pricing_date} as expected:

<textFieldExpression><![CDATA[$F{pricing_date}]]></textFieldExpression>

<textFieldExpression><![CDATA[$F{pricing_date}]]></textFieldExpression>[/code]

But... I get the error "Field not found : pricing_date" within iReport Designer, and I get the same error during compilation.

I've compared this to other JRXML files within the samples provided, and it seems to match... what am I missing? Is there a setting somewhere to recognize field definitions?

 

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

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...