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
-
- Posts: 20
- Joined: Fri Nov 20, 2009 7:40 am
-
- Posts: 20
- Joined: Fri Nov 20, 2009 7:40 am
Collapsing a band
Dont worry, this seems to work fine.
if (DataSource1.ClaimType != 2) DetailSection20.Enabled = false;
else DetailSection20.Enabled = true;
if (DataSource1.ClaimType != 2) DetailSection20.Enabled = false;
else DetailSection20.Enabled = true;