Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I'm creating a SSRS report using BID 2008 and have a couple of questions, your help would be much appreciated.

  1. Why the page layout on the report is different from print set up? For example I have set the page layout of the report in design mode to Landscape but when it is printed, it is portrait and the report is broken in many pages, in a way that the table columns are broken makes the print not usable. How can we ensure what we see on the screen is the same as what will be printed (aligned with what designed)? I've spent a considerable amount of time to do that, but have had not much success :(

  2. My report length is relatively long, consists of 3 pages (in design mode). I want to have multiple layouts in the report. For example page 1, 2 and 3 landscape and page 4 portrait. There is no subreport in the report. How is it possible?

Thanks for your help!

share|improve this question

1 Answer 1

up vote 2 down vote accepted

The page setup in the print options does not control your report parameters. You will need to use the Height/Width property of the report inside BIDS. Orientation in SSRS is controlled by setting these values. We have a report at our office that is similar to what you describe and there are two ways of (semi) achieving what you want to get done.

The first is to use a separate report for each page that you want. This gives you complete control over all elements of each page such as height/width etc but may be more work for you to do and possibly more maintenance in the long run. It does however mean that should you change elements of the report later you only have to retest the bits you have changed, not the entire report.

The second one is to you expressions to force page breaks. This will work for reports that need the same orientation (as they inherit the properties set on the report container) but will not work for a report that has a different orientation. A link to an example of page breaks is below:

http://msdn.microsoft.com/en-us/library/ms157328.aspx#AppearanceofReportData

I hope this makes sense and that it helps you in what you want to achieve.

share|improve this answer
    
I like your first option. Thanks. –  Sky Sep 3 '12 at 3:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.