Jump to content
Changes to the Jaspersoft community edition download ×

Variable_1 depending on Variable_2 make two evaluation of Variable_2


mlopez_1

Recommended Posts

I have a variable called Variable_2, that make a heavy query with a scriptlet that returns a number.

Another variable, called Variable_1 is: Variable_1 = Variable_2.longValue() > 0, for visualize deail band.

Variable_2 is put in a text field in detail band, and works well. Variable_1 is put in "Print when expression" in detail band property and make Variable_2 a new evaluation, making these heavy query again.

Once Variable_1 is evaluated, why only with referenced it at the same level, detail band, evaluate it again, instead of retrieve value previously calculated?.

Mariano

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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