CONFLICT USING CALC INVISIBLE WITH MASTER COMPONENT

Stimulsoft Reports.NET discussion
Post Reply
Saus86
Posts: 62
Joined: Fri Mar 23, 2012 10:57 am
Location: Italy

CONFLICT USING CALC INVISIBLE WITH MASTER COMPONENT

Post by Saus86 »

I have a problem using property "Calc Invisible" in my DataBand.


I have in order

BandHeader
BandDataA
BandFooter

BandHeader
GroupHeaderBand
BandDataB
GroupFooterBand
BandFooter

then i have another DataBand (BandDataB) that is linked at BandDataA with MasterComponent and DataRelation correctly.
I have in top and in bottom of this bandB, 1 GroupFooterBand and 1 HeaderFooterBand for group information and create subtotals and totals.

If i want seen only subtotal and total and not all details of this band i set in BandDataB Enabled=false and Calc Invisible= true.
Thiss function correctly but if i create a Relation for this Band with BandDataA i dont view nothing of the DataBandB (neither subtotal neither details maybe because
DataBandA see DataBandB with property Enabled=False and dont print nothing)
The problem is the property MasterComponent=BandDataA of BandDataB. If i remove this property then I can view only subtotal of B but so i dont have a correct MasterDetail between A and B.

How i can do????? I want use MasterDetail between DataA and B but i want also that DataBand B view only subtotal wothout Details (with CalcInvisible=true and Enabled=true).

Please i have need some expert!!!:)
Thank You for help.
Saus86
Posts: 62
Joined: Fri Mar 23, 2012 10:57 am
Location: Italy

CONFLICT USING CALC INVISIBLE WITH MASTER COMPONENT

Post by Saus86 »

Problem resolved!!:)
Using event BeforePrint.
I set Enabled=true in BandB and calc Inv=true, and then in event BeforePrint insert BandB.Enabled=False.

Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

CONFLICT USING CALC INVISIBLE WITH MASTER COMPONENT

Post by Andrew »

Hello,
Problem resolved!!:)
Thank you for letting us know avbout this!

Thank you.
Post Reply