Wrox Programmer Forums
BOOK: Professional SQL Server 2005 Reporting Services ISBN: 0-7645-8497-9
This is the forum to discuss the Wrox book Professional SQL Server 2005 Reporting Services by Paul Turley, Todd Bryant, James Counihan, Dave DuVarney; ISBN: 9780764584978
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional SQL Server 2005 Reporting Services ISBN: 0-7645-8497-9 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 18th, 2009, 10:10 AM
Registered User
Join Date: Jun 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default matrix pushing items off right edge


I hope someone can help me.

I'm using SQL Server 2005 Reporting Services and have a report with 2 matrices.
I'd like to not need to use a subreport but have found this to be the only way to not have the matrix push white space off to the right side of the page, causing the page to extend past its margin and create an additional page.
I tried the suggestion below, to use a rectangle, but did not see any difference. I tried merging the 4 cells in my table, placing the rectangle into that and then placing the matrix, sized appropriately, inside of the rectangle. Is there a setting in the property that I am missing, that also needs to be set for this to work.

Any advice would be appreciated! Thanks, Carrie

Using Rectangles to Control Item Growth and Displacement
Items within a rectangle become peers of each other and are governed by the rules of
how peer items are positioned on the page as they move or grow. For example:
· Items will push or displace each other within the rectangle.
· Items will not push or displace items outside the rectangle, because they are not
their peers.
· If necessary, a rectangle will grow to accommodate the items it contains.
You can use this logic to your advantage when dealing with objects that expand. For
· If you want to leave a blank space in your report for a table to expand into, group
the blank space and the table in the same rectangle. When the table grows, it will
push the blank space.
· If you want to prevent a matrix from pushing items off the right edge of the page,
put the matrix within a rectangle with blank space to its right. Now, the matrix is no
longer a peer to the other item on the page and will not be able to push it until the
matrix can no longer be contained within its rectangle.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing duplicate edge elements geoGregory3 XSLT 2 February 27th, 2008 06:08 AM
Pushing particular Nodes inside an element ROCXY XSLT 2 January 3rd, 2006 12:21 PM
How to curve a tables edge? scrowler CSS Cascading Style Sheets 6 December 15th, 2004 06:16 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.