Hide a subreport based on the value (1 Viewer)

DeveloperSteve

Registered User.
Local time
Today, 10:30
Joined
May 21, 2012
Messages
12
I have a main report with a subreport in the detail section. If a control on the subreport has a value of zero I'd like to set the subreport to visible = false. The control on the subreport is an unbound calculated textbox. This sounds simple enough, but the solution has eluded me so far.
 

Angelflower

Have a nice day.
Local time
Today, 07:30
Joined
Nov 8, 2006
Messages
51
Did you ever figure out how to do this? I am working on the same thing and having no luck.

Thanks!
 

Simon_MT

Registered User.
Local time
Today, 15:30
Joined
Feb 26, 2007
Messages
2,177
The solution maybe data centric.

In your subreport use a query and put your calculation into the query. Then in the Criteria <> 0.

On the report set the subReport Height = 0 and Can Grow = Yes

Simon
 

Users who are viewing this thread

Top Bottom