Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Header causing alternate blank pages when exporting to PDF.

$
0
0

Hi there,

Its a pretty complicated situation (to me) so I will try and explain as best as I can.

I am using SSRS 2005, trying to export an rdl to pdf. It looks fine on the Reporting Server, but in the pdf it is creating a blank page every second page with a header bar.
What this report has is a table within a list, that groups on store name, so each store has its own instance of the table of data. The client wanted each store instance to be on a new page, with the header from the front page. The original header from the front page had data, and so lived in the body of the report.

I placed identical text boxes in the header and pointed these at the "header" table in the body using =ReportItems! so the data now displayed in the header. I set the header to print on the first and last page.
I then went into the list groups and made a page break after each instance of a group, so each store was occuring on a separate page. However the header was blank.
So I created another mimic "header" within the list, had that link to the one in the body using =ReportItems! then had the one in the page header link to the one in the list using =ReportItems!. Very confusing!

Everything works fine in the report server. When I export to pdf, I am getting a header on each page with data, but in between each page I am getting a blank page, with the frame of the header and any hardcoded boxes but no data in the header. I know this blank page has nothing to do with margins as when I turn the page header off then I don't get any blank pages.
I've tried having the header only print on first page, and then only on last page, and each time I get similar results but no solution.

I hope I explained this right. Any ideas?



Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>