Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Repating a lable in a table
tinusm
Hi,
I have a problem while i am trying to print a lable in my report. I have total 4 pages.
I have to set PTO(Please trun over) in each page except last page.I have kept this label
inside a groupFooter of a Table. But still the label PTO is showing only in last page.
I have attached my design screen shot with this.If any body knows please help me
Regards
Tinu
Find more posts tagged with
Comments
mwilliams
Hi Tinu,
The footer only displays at the end of a group or table, depending on which footer it is. To get the footer to display at the end of each page, you'd probably have to group the table on an interval that you know will fit onto a page and page break after each group and include that in that group footer. Then, to make it not appear in the final group footer, you'd probably have to have a variable count the page breaks and on the label element, set the visibility to "invisible" when you're on the 4th page. Let me know if you have any questions.
tinusm
Hi,
I have a problem in taking page count in my pdf report. I have Total 55 pages.
I want to show page count from 1 t0 50 ie, from first page to 50th page.And keep remaining
five pages without page number.I am using the format page n of m for displaying page count.
If anybody knows please help me......
Regards
Tinu
mwilliams
Tinu,
Did the above solution work for your label?
As for the page number, the master page is only rendered once. The auto text items are the only things that update inside the master page. Unfortunately, I don't think there's a way to hide the autotexts on the master page for the last 5 pages because of this. If you grouped your table by an interval and knew or could figure how many pages you would have based on your interval, you might be able to do this within your report layout in the group footer of this interval group. Pretty much the same as the solution above.
tinusm
Michael,
The first problem and the second problem i am not able to solve with taking
page interval,because i am passing a parameter named partno with this report,
so based on this parameter the count of pages is increasing a decreasing.For eg:
for part no =1 will have 50 page and part no 2 has 60 page.So if i keep a
page break based on interval 40 like..it wont dynamically changed based on
the parameter value(partno).
Regards
Tinu
mwilliams
Tinu,
Take a look at the attached report design. It has two computed columns in the dataSet. One to count the rows in the dataSet to determine how many pages there will be and one to have a running count of the rows to create a group off of. I put a label in the interval group footer showing "PTO". This shows for all but the last page. It doesn't matter how many pages there are. Also in this group footer, I put a text element with "Page n of m" in it based off of the variable pageNumber that gives you the current page in BIRT and the calculated number of pages I will have based off of the row count and my group interval break. I have this showing on all but the last 2 pages of the report. This should all work no matter how many pages there are for a "product". Let me know if you have any questions. Hope this helps.
This report was designed in BIRT 2.3.2.2.