Remove GroupHeader at specific value

Stimulsoft Reports.NET discussion
Post Reply
StixStax
Posts: 46
Joined: Wed Aug 12, 2015 9:41 am

Remove GroupHeader at specific value

Post by StixStax »

Hey,

I'm trying to remove the Group Header, when the Count-Function hits a specific value.
I created a sample report, where I would like to remove the GroupHeaderBand (green bar), when the Count-Function hits the value 22.
Any ideas how to do that?

Thank you for your help
Attachments
RemoveGroupHeaderBand.mrt
(15.72 KiB) Downloaded 174 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Remove GroupHeader at specific value

Post by Alex K. »

Hello,

Please try to use the following expression in the Condition for the GroupHeaderBand1 component:
Totals.Count(GroupHeaderBand1) == 22
and set the ComponentIsEnabled option to false.

Thank you.
StixStax
Posts: 46
Joined: Wed Aug 12, 2015 9:41 am

Re: Remove GroupHeader at specific value

Post by StixStax »

Hey,

this works great with the demo version.
Unfortunately I have to use version 2012.1.1300. In this version the condition is without effect.
I need to hide the GroupHeaderBand when theres no data in the following databand.
I would appreciate any further help.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Remove GroupHeader at specific value

Post by Alex K. »

Hello,

We have checked the 2012.1.1300 and your report works correctly.

Thank you.
Post Reply