Page 1 of 2
Page footer band rendering
Posted: Tue Dec 15, 2015 7:15 pm
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!
Re: Page footer band rendering
Posted: Wed Dec 16, 2015 12:43 pm
by Alex K.
Hello,
Please try to set the ProcessAt property as "End of Page" for the Text component.
Thank you.
Re: Page footer band rendering
Posted: Wed Dec 16, 2015 2:29 pm
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
Re: Page footer band rendering
Posted: Thu Dec 17, 2015 11:59 am
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
Re: Page footer band rendering
Posted: Thu Dec 17, 2015 7:17 pm
by muriloruiz
It worked, thank you
Re: Page footer band rendering
Posted: Thu Dec 17, 2015 7:28 pm
by Alex K.
Hello,
Let us know if you need any additional help.
Thank you.
Re: Page footer band rendering
Posted: Thu Dec 17, 2015 9:17 pm
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
Re: Page footer band rendering
Posted: Fri Dec 18, 2015 12:10 am
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
Re: Page footer band rendering
Posted: Fri Dec 18, 2015 1:10 pm
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
Re: Page footer band rendering
Posted: Mon Dec 21, 2015 9:00 am
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.