Page 1 of 1

how don't print GroupFooterBand to one occurrence

Posted: Tue Jan 22, 2013 1:03 pm
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

Re: how don't print GroupFooterBand to one occurrence

Posted: Wed Jan 23, 2013 12:09 pm
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.

Re: how don't print GroupFooterBand to one occurrence

Posted: Wed Jan 23, 2013 12:28 pm
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

Re: how don't print GroupFooterBand to one occurrence

Posted: Thu Jan 24, 2013 11:05 am
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.

Re: how don't print GroupFooterBand to one occurrence

Posted: Thu Jan 24, 2013 12:12 pm
by Valtécio
thx. it's working.

u r the guy.

Re: how don't print GroupFooterBand to one occurrence

Posted: Fri Jan 25, 2013 6:53 am
by Alex K.
Hello,

Let us know if you need any additional help.

Thank you.