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

Use return variable in "print when expression"


byron.ullauri
Go to solution Solved by sergey.vishnevetskiy,

Recommended Posts

I have a subreport that I want to print only when it has data,  My approach to this is to return a variable (boolean) that checks if the first value of a field is null. 
In the master report,  I added a "dummy group" band to place the subreport in and in the "print when expression" for the band I placed the returned variable. 

The issue is that the band never prints even when I explicitly set the returned variable to true in the subreport.

I tried placing the variable itself in a text field on the page footer and it prints the correct value for it.  

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