Page footer band rendering

Stimulsoft Reports.NET discussion
muriloruiz
Posts: 30
Joined: Tue Dec 01, 2015 6:19 pm

Page footer band rendering

Post by muriloruiz »

Hi!

I need to show in a page footer band the value of a variable that is assigned in the detail band, the report returns two pages, but the value of the variable is shown only in the page footer band on the second page of the report on the front page the variable is shown worthless, as if the page footer band foce reenderizada only after all band detail and not be shown per page. How do I show the value of this variable on every page?

Thank you so much!
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Page footer band rendering

Post by Alex K. »

Hello,

Please try to set the ProcessAt property as "End of Page" for the Text component.

Thank you.
muriloruiz
Posts: 30
Joined: Tue Dec 01, 2015 6:19 pm

Re: Page footer band rendering

Post by muriloruiz »

Good Morning,

After changing the property in the text field, gave almost certain. The problem is that on the first page footer, shows the value of the first record of the second page, how do I get the record shown, is the last of the first page? In the attached example, need to show the value 17.19 on the first page footer and not 8.3.

thank you so much
Attachments
teste.pdf
(51.9 KiB) Downloaded 425 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Page footer band rendering

Post by HighAley »

Hello.

We will be able to give you exact answer if you send us your report template with sample data.
For now we could guess that you calculate the value of variable in the wrong place.
Please, try to use After Print event of the Data Band.

Thank you
muriloruiz
Posts: 30
Joined: Tue Dec 01, 2015 6:19 pm

Re: Page footer band rendering

Post by muriloruiz »

It worked, thank you
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Page footer band rendering

Post by Alex K. »

Hello,

Let us know if you need any additional help.

Thank you.
muriloruiz
Posts: 30
Joined: Tue Dec 01, 2015 6:19 pm

Re: Page footer band rendering

Post by muriloruiz »

Hi

Actually I need more help.
I have a variable getting value at the "After Print" detail band, after setting the ProcessAt property to "End of page" to the text component, the value is displayed in the page footer band, but this band can only appear if the value of the variable is greater than zero, I did validation at the event Before Print even with the variable greater than zero the band is not shown. How do I do the validation in the page footer band after band detail calculate the variable?

thank you
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Re: Page footer band rendering

Post by Ivan »

Hello.

Sorry, maybe we did not exactly understood your question.
Can you please describe your task in details.
And, if possible, send us a sample report template with data, which reproduce the issue, for analysis.

Thank you
muriloruiz
Posts: 30
Joined: Tue Dec 01, 2015 6:19 pm

Re: Page footer band rendering

Post by muriloruiz »

Hi
Excuse my English, I am Brazilian.

I use a database as a source of connection, then you may not see the report data, even so, I sent my report attached, along with a PDF that shows the data.

I will try to explain again my problem, I have a variable that receives value in the detail band and a page footer that can only appear when the value of this variable is greater than zero. To verify that the page footer band may appear or not, did the following code in the event "Before Print":
if (VALOR > 0)
PageFooterBand1.Enabled = true;
else
PageFooterBand1.Enabled = false;
It turns out that the first page of the report, even with the variable being greater than zero, the page footer band does not appear, ie, the variable is receiving value only after the event "Before Print" page footer band runs . How can I solve this problem in the first page of my report?

thank you
Attachments
ReportTest.zip
(87.23 KiB) Downloaded 394 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Page footer band rendering

Post by HighAley »

Hello.

The Page Footers are rendered before of rendering of page content. At this time the value of VALOR variable is null.
Please, try to use Footer Band. You could set Print At Bottom property to True if you need to show the Footer at the bottom of the page.

Thank you.
Post Reply