how don't print GroupFooterBand to one occurrence

Stimulsoft Reports.NET discussion
Post Reply
Valtécio
Posts: 37
Joined: Wed Oct 24, 2012 4:26 pm

how don't print GroupFooterBand to one occurrence

Post by Valtécio »

Hello,

I would like some help.

I need don't print the GroupFooterBand2 when the table ContaBancaria have just one record (GroupHeaderBand2) - considering the group of GroupHeaderBand1 too.

I had put a extra DataBand3 to get this value but isn't enough, 'cause I cannot manage this value into GroupFooterBand2.

I was try use variables, but didn't works too. how can u see in ScreenShot139.jpg

In ScreenSho141, the selected line could not be printed cause existis only a record in ContaBancaria, despite the relationalship is into Compromissos -> Sistema ; Compromissos -> ContaBancaria

Thx since now
Attachments
ScreenShot141.jpg
ScreenShot141.jpg (331.82 KiB) Viewed 1709 times
CompromissosBancos.xsd
(5.49 KiB) Downloaded 315 times
CompromissosBancos.xml
(133.51 KiB) Downloaded 389 times
CompromissosBancos.mrt
(317.11 KiB) Downloaded 393 times
ScreenShot139.jpg
ScreenShot139.jpg (606.23 KiB) Viewed 1709 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: how don't print GroupFooterBand to one occurrence

Post by HighAley »

Hello.

The Condition check at first and then the Before Print event fires. So you set the value of the qtdeBancaria too late.

Thank you.
Valtécio
Posts: 37
Joined: Wed Oct 24, 2012 4:26 pm

Re: how don't print GroupFooterBand to one occurrence

Post by Valtécio »

Hello

I'm sorry. I didn't understand.

How can I get the value of {Count(DataBand3)} to use in GroupFooterBand2, so in [conditions] I'll be able to hide this band when {Count(DataBand3)} == 1 don't using these variables ( I already delete it them )?

thx
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: how don't print GroupFooterBand to one occurrence

Post by HighAley »

Hello.

You don't need any additional Band or Variable. You could use the "ContaBancaria.Rows.Count ==1" expression in the Condition of the GroupFooter2. It's better to set the Enabled property to True and to disable the Enabled option in the Condition.

Thak you.
Valtécio
Posts: 37
Joined: Wed Oct 24, 2012 4:26 pm

Re: how don't print GroupFooterBand to one occurrence

Post by Valtécio »

thx. it's working.

u r the guy.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: how don't print GroupFooterBand to one occurrence

Post by Alex K. »

Hello,

Let us know if you need any additional help.

Thank you.
Post Reply