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

Print when expression


openspac3

Recommended Posts

 I'm a newbie at iReport and I'm having problems getting the "print when expression" right:

I have a field $F{descrizione} that contains the dishes ordered. At the end of my document I created a text field that i want to be printed when the field $F{descrizione} contains the element PIATTO PAESANO. So I used the Print when expression function.

I wrote:

$F{descrizione}.contains("PIATTO PAESANO")

It works only when $F{descrizione} contains PIATTO PAESANO alone, but if $F{descrizione} contains even other dishes it stop working.

Moreover It is possible to print the text field at the end of the document as many times as indicated in the field $F{quant} linked to the field $F{descrizione}?

thanks

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