Jump to content
JasperReports Library 7.0 is now available ×

How to filter textfield


jo_bonanno

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

First of all, is acType a java.lang.Character field or not?

 

The code I posted contains a syntax error (should start with $F{abc}.charValue() == ..), it was only meant to give you an idea of what a decoding expression would look like. You have further syntax errors in your expression: character literals use single quotes ('J'), and the "? :" operator is incomplete.

 

JR expressions are Java expressions (if you use a Java-based report compiler) with param/field/var placeholders, so familiarity with Java expression syntax is a prerequisite for writing complex expressions.

 

HTH,

Lucian

Post edited by: lucianc, at: 2006/10/11 09:22

Link to comment
Share on other sites

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