Title:
Bug 72753:(Watson Migration Closure)If you set the page footer band height to a small number (like
| View in TrackerStatus/Resolution/Reason: Closed/Won't Fix/
Reporter/Name(from Bugbase): Mike Greider / Mike Greider (Mike Greider)
Created: 08/20/2008
Components: Reporting, Report Designer
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Normal / Most users will encounter
Locale/System: English / Win All
Vote Count: 1
Problem:
If you set the page footer band height to a small number (like .01) and set all elements to grow and expand, the PDF output ignores it. It will cut off the elements and not display, even if the elements contained information large enough to make the band expand.
The other bands will honor this (at least the details band will).
As a result of this bug, you can not make the band artificially small and must make it as large as all of the elements might be. This will cause the whitespace to be printed on all of the pages, even if the elements are hidden. If you mark all of the elements as "Remove Line When Blank", then the white space is gone, but it's still not laid our correctly. This is most obvious if you have a page footer that has elements to print on all pages (like a page number), and elements to only print on the last page.
If you add all of the elements to the page footer, mark all of them (except the bottom page number) with the "Print When" condition of "query.CurrentRow GTE query.recordcount". Then there will be a large white space area for where the hidden elements would be. If you then go mark those other elements with "Remove Line When Blank", than the page number comes up to the top of the section (no longer on the bottom of the page). It SHOULD stay at the bottom and page footer shrink in size.
Method:
See above. Easy to reproduce. Create a report that uses a query with enough results to make the details section span over several pages.
Create a page footer that is 2 or 3 inches. Make all of the elements, except the bottom page number be hidden except for the last page (Print When Condition:query.currentRow GTE query.recordcount is the best way I know how). View report. You'll see huge sections of white space on all of the pages.
Go back to the report. On all of the elements, except the bottom page number, set the "Remove Line When Blank" to be true. View report. You'll see the page number it at the top of the white space, but the page footer still takes up the same amount of space.
Go back to the report. Click on the "Page Footer" report band, set the Height to be very small (.02). Set "Stretch with Overflow:true". View report. The entire page footer is removed, including the white space.
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3035881
External Customer Info:
External Company:
External Customer Name: Mike Greider
External Customer Email: 07A3374344F84457992015C3
External Test Config: 08/20/2008
Attachments:
Comments: