|
|
Question : SQL Reporting Services extra blank page at end of report
|
|
I am using SQL Server 2005 Reporting Services to generate reports with the ReportViewer control in my .NET Windows Forms application. Almost all of my reports add an extra empty page when they are printed. There is no data on the extra page, just the page footer. Is this a "feature" or is there something I can do about it?
|
Answer : SQL Reporting Services extra blank page at end of report
|
|
Hi, Common problem for relative newbies. Your report "Body" width probably is set too wide.
In the object explorer, pull up the "Report" object, this will have a Report width and Margins. In Europe by default (A4 paper) this is set to 21cm with a left and right margin of 2.5cm each. 21 - (2.5 + 2.5) gives a printable area of 16cm. Click in the report body area and if it's greater than 16cm, even though there may be no controls beyond that mark, you will get blank pages.
Simply drag the report edge back to the left as far as it will let you, if that now fits within the print area, you're issue will be solved.
Adding columns to tables that won't fit on the body automatically increases it's width, if you then make the column width smaller, the report body DOESN'T shrink itself. You have to remember to do that - this is normally how this problem happens.
You can alter margin sizes to give you a bigger print area.
Cheers Chris
|
|
|
|
|