Jump to content
Changes to the Jaspersoft community edition download ×

Simple Print When Expression question


joeyboy156
Go to solution Solved by james.t,

Recommended Posts

Hello,

One of my fields is returning a variety of different data. This is creating four lines of data when there should only be one. I cannot edit the data source to remove the unwanted values so I belive a simple print when expression will be my best bet. The following is the different data I recieve

00
00000
ZZERR
MN002
 
I would like to know how I would go about making a Print When Expression so only the last value is printed something along the lines of the following where L represents letter and N represents number
$F{MyField} == 'LLNNN'
 
All of the data I need from this field follows the pattern of Letter Letter Number Number Number

I have looked online but cannot find an answer, is anybody able to help out?

Thanks

Link to comment
Share on other sites

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