Jump to content

Recommended Posts

Posted

I have a main report and a subreport and i want to hide a textfield based on the value returned by the subreport.

How to achieve this in jasper ireport?

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

For this case, you need to execute that subreport before the textfield, then only you will get correct return value .

And in the properties of SubReport to can find the ReturnValues tab, there you need to add SubReport Variable and Main Report Variable abd calucation type nothing.

While creating the variable in main report the caluclation type should be System.

 

Hope this will work :)

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