Wednesday, March 21, 2012

exporting

I have noticed on one of my reports that when I export to a .PDF or .TIF file, I get an extra blank page for each page there is data on. However, in Report Designer when I preview the report, it looks fine. Example, I have a report with 7 pages of data. In RD it show ONLY the 7 pages of data. When I export it though, I get 14 pages with 7 blank pages (header only). I have tried to reduce the width of the text boxes thinking I had something spilling over, but it doesn't change anything.
Any thoughts?

Frankcheck that your body and Report size properties are the same, and the margins preferably set to all 0 just in case you cross over some margins. and that there are no elements in the report which expand bigger than the size of the report when it gets rendered. and ofcourse if you set your tables/matrix/list/rectangle page breaks more than you need like a pagebreak both before and after in the middle of report. most of all make sure the width of your body at design time do not exceed the page size. the length is ok but the width must not go wider and it doesnot matter if there is nothing in the extra space it will still print out an extra page.
to check if your report will export an extra page, look at print preview when you render the report. the normal view may show 2 pages but the print preview will show 4 pages if report is not set up properly.|||

That was it. The report was the same size as the body however the body had .25 set for the margin. By setting the margins to 0 on the body and reducing the report from 8" to 7", it eliminated the extra blank page on the export.
Thanks again!

No comments:

Post a Comment