Page 1 of 1

Collapsing a band

Posted: Mon Nov 30, 2009 1:46 am
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!

Collapsing a band

Posted: Mon Nov 30, 2009 3:09 am
by whythetorment
Dont worry, this seems to work fine.

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