Page 1 of 1

CONFLICT USING CALC INVISIBLE WITH MASTER COMPONENT

Posted: Fri Apr 06, 2012 2:49 pm
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.

CONFLICT USING CALC INVISIBLE WITH MASTER COMPONENT

Posted: Sat Apr 07, 2012 10:24 am
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.


CONFLICT USING CALC INVISIBLE WITH MASTER COMPONENT

Posted: Sun Apr 08, 2012 12:10 am
by Andrew
Hello,
Problem resolved!!:)
Thank you for letting us know avbout this!

Thank you.