Solved

Dynamic Report Width at RunTime based on Parameters

Posted on 2009-07-02
3
1,065 Views
Last Modified: 2012-05-07
I have created an RDL file that displays dynamic columns based upon a multi-value parameter, hiding based is done by the Visibility property.  This is working as expected in the main report viewer screen, returning one page.  However when I select page layout I am receiving two additional pages.  I believe the addtional pages are coming from the overall report width, but I have to have the report that wide in the designer because of all of the dynamic columns.  Is there any way to modify this property through expression at runtime?  The width property of the section doesn't have an expression attached to it.  

Any ideas would be appreciated.  Thanks
0
Comment
Question by:DCG_Developer
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
Auric1983 earned 500 total points
ID: 24762342
DCG,

See if this from the MS KB helps but in without an expression box I'm not sure that you can define a dynamic width unfortunately.

http://msdn.microsoft.com/en-us/library/ms251701.aspx

0
 

Author Comment

by:DCG_Developer
ID: 24762693
It would appear that this is expected functionality ... Below is the Note from the MSDN article.  This is frustrating!!  I just checked BIDS 2008 and the same deal is there ... no expression on the page size or the interactive size properties.
Note
The width of a report can be greater than the width of the page. If a report that is wider than the specified page size is rendered by a rendering extension that supports page size, the resulting report may flow horizontally across multiple pages. If you have designed a report to be one page wide, but it renders across multiple pages, check that the width of the report is not larger than the page width.
Anybody have any ideas for a work around?
0
 

Author Closing Comment

by:DCG_Developer
ID: 31599130
The final answer was that the functionality could not be accomplished and it seems to be an issue inside of SSRS.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Hello, In my precious Article  (http://www.experts-exchange.com/Database/Reporting/A_15280-Create-Project-in-Microstrategy-Part-I.html)we saw the Configuration part for Microstrategy which included Metadata Creation and DataSource Preparation as …
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now