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

Print when there's data on the sub-report


siyabonga.bushula

Recommended Posts

Hi I have a Jasper report with a sub report now I want the report to display the data only if there's data on the sub-report hence the details are from the sub-report only headers from the main
I created a variable which is a 1 or 0, when this variable is 1 it means there's a data to display so I set the print when to " $V{Variable_1}.equals(1) " and it comes with a blank report I would appreciate if someone could help

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

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