<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Luke Hayler - SQL Server developer &#187; report items</title>
	<atom:link href="http://www.lukehayler.com/tag/report-items/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lukehayler.com</link>
	<description>A blog about Integration services, Reporting services, and the things that interest me</description>
	<lastBuildDate>Fri, 06 Aug 2010 10:19:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Managing Reporting Services Layouts using the Rectangle in SSRS</title>
		<link>http://www.lukehayler.com/2009/07/managing-reporting-services-layouts-using-the-rectangle-in-ssrs/</link>
		<comments>http://www.lukehayler.com/2009/07/managing-reporting-services-layouts-using-the-rectangle-in-ssrs/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 12:30:07 +0000</pubDate>
		<dc:creator>Luke Hayler</dc:creator>
				<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[formatting]]></category>
		<category><![CDATA[report items]]></category>
		<category><![CDATA[report layout]]></category>

		<guid isPermaLink="false">http://www.lukehayler.com/?p=29</guid>
		<description><![CDATA[Left a bit, right a bit
When it comes to designing one page summary dashboards for print (A4), you need to be able to ensure that the layout of your report is constant. Even with fluctuating columns &#38; rows – care of Tables &#38; Matrices. Initially this sounds fairly simple, add the report items, lay them [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Left a bit, right a bit</strong></p>
<p>When it comes to designing one page summary dashboards for print (A4), you need to be able to ensure that the layout of your report is constant. Even with fluctuating columns &amp; rows – care of Tables &amp; Matrices. Initially this sounds fairly simple, add the report items, lay them out according to the design requirement and off you go. Preview. Whoa. WTH!</p>
<p>The problem arises when position of items on the report is affected by the growth of either a table or a matrix, either on the horizontal or vertical axis. Specifically, if the top one of your report items (the chart in Fig 1.) is below the bottom of another item (that can grow vertically), then it will be pushed out at run time. See fig 2.</p>
<div id="attachment_52" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-52 " title="SSRS Report Layouts - Fig 1" src="http://www.lukehayler.com/wp-content/uploads/2009/07/SSRS-Report-Layouts-Fig-1-300x224.jpg" alt="Fig 1. The Design time Layout" width="300" height="224" /><p class="wp-caption-text">Fig 1. The design time layout</p></div>
<div id="attachment_53" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-53 " title="SSRS Report Layouts - Fig 2." src="http://www.lukehayler.com/wp-content/uploads/2009/07/SSRS-Report-Layouts-Fig-2.-300x268.jpg" alt="Fig 2. The Runtime Layout" width="300" height="268" /><p class="wp-caption-text">Fig 2. The run time layout</p></div>
<p><strong>Have no fear, the rectangle is here!</strong></p>
<p>Enter the simple rectangle report item. By using rectangles to layout your report and group certain items, you can retain the layout you worked so hard to achieve. How does it does this? The rectangle groups report items within itself, i.e. the growth of tables &amp; matrices are relative to the rectangle and not the page itself. By adding two rectangles to the report I have grouped the Pie chart title and the pie chart, and have isolated the table. The table&#8217;s rectangle is also extended to the approximate depth of table at run time, thus ensuring that the planes of the report items relative to the design surface (the two rectangles) are the same.</p>
<p>Let’s have a look at the difference from Fig 1. &amp; 2. In the Figs. below.</p>
<div id="attachment_54" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-54" title="SSRS Report Layouts - Fig 3" src="http://www.lukehayler.com/wp-content/uploads/2009/07/SSRS-Report-Layouts-Fig-3-300x220.jpg" alt="Fig 3. The design time layout using the rectangle report item" width="300" height="220" /><p class="wp-caption-text">Fig 3. The design time layout using the rectangle report item</p></div>
<div id="attachment_55" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-55" title="SSRS Report Layouts - Fig 4" src="http://www.lukehayler.com/wp-content/uploads/2009/07/SSRS-Report-Layouts-Fig-4-300x202.jpg" alt="Fig 4. The runtime layout using the rectangle report item" width="300" height="202" /><p class="wp-caption-text">Fig 4. The run time layout using the rectangle report item</p></div>
<p><strong>But beware&#8230;</strong></p>
<p>One important bit of information. You must ensure that the report items you wish to control are placed ‘<em>into</em>’ the rectangle. What I mean here, is that you cannot simply place a rectangle object over the report items you wish to constrain – this will give rise to overlapping objects and may result in error. The trick is to either place the rectangle on the design surface first and then drag-and-drop report items ‘<em>into</em>’ it, or for existing report items, place the rectangle onto the design surface and then cut the report items you wish to constrain, select the rectangle, and then paste the report items ‘into’ it. You can test that the report items are ‘inside’ the rectangle by selecting it (the rectangle) and moving it. If the report items (inside the rectangle) all move together, you have constrained them correctly.</p>
<p>Another note. The rectangle will not stop the growth of the tables &amp; matrices, what it does is ensure that the layout of the rest of the report items are not thrown out at run time.</p>
<p><em>The data in the report is from the AdventureWorks database and is for illustration purposes only.</em></p>
<p><em><span style="font-style: normal;">.</span></em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukehayler.com/2009/07/managing-reporting-services-layouts-using-the-rectangle-in-ssrs/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>
