Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 Report output layout orientation

Author  Topic 

dude153
Starting Member

3 Posts

Posted - 2011-05-04 : 10:12:10
In SSRS 2008, is it possible to set the layout output of report programmatically? I want to give users ability to select horizontal or vertical orientation of the report. If this is achievable, can someone shine some light on this?

Bazalddo
Starting Member

22 Posts

Posted - 2011-05-24 : 08:29:53
I dont think so :-/ If you change the size of the report in report properties then that will change the orientation but there is no way you can do it dynamically (to my knowledge). I think you might be better off developing two reports.

The only other alternative that may work is using custom code.

Shahbaz Ahdi
Apps Developer
ODEON/UCI Cinema
Go to Top of Page

Lumbago
Norsk Yak Master

3271 Posts

Posted - 2011-05-24 : 09:41:43
It's not possible to set it dynamically. If you set the Width property of page size to a value larger than the heigh, the output will be in landscape format. If height is greater then with you'll have portrait. Only option is to create two reports as bazalddo says...

- Lumbago
My blog-> http://thefirstsql.com/2011/02/07/regular-expressions-advanced-string-matching-and-new-split-function-sql-server-2008-r2/
Go to Top of Page
   

- Advertisement -