Collapsing a band

Stimulsoft Reports.NET discussion
Post Reply
whythetorment
Posts: 20
Joined: Fri Nov 20, 2009 7:40 am

Collapsing a band

Post by whythetorment »

Hi There,

I'm trying to collapse or make a band invisible when the report has certain criteria's. In crystal we could go the section export, and under the "Suppress (No-Drill down) option, enter our criteria.

I found in one of stimulsoft's reports (DrillDownGroupWithCollapsing.mrt), that they used {GroupLine!=1} on one of the bands.

I've did the same in my report, but just changed it to {DataSource1.ClaimType != 2} and also set Collapsing enabled to true like it is in the example. But my band is still showing on the report..

What else must i do ?

Thank you!
whythetorment
Posts: 20
Joined: Fri Nov 20, 2009 7:40 am

Collapsing a band

Post by whythetorment »

Dont worry, this seems to work fine.

if (DataSource1.ClaimType != 2) DetailSection20.Enabled = false;
else DetailSection20.Enabled = true;
Post Reply