Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Rectangle size affected by child Table Expand / Collapse
Author
Message
Posted Tuesday, June 23, 2009 12:40 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Friday, December 5, 2014 10:24 AM
Points: 165, Visits: 138
I am trying to mimic a legacy report and must keep the format identical. I have a rectange on a page that must remain a fixed size (5 incheds tall). Inside the rectangle I have placed a table (table shows rectangle as its parent). The number of rows returned in the table are resricted in qty so that the max number of table rows would never expand beyond the specified height of the parent rectangle.

At first, the rectangle was trying to be smart and instead of being the fixed dimensions, it was shrinking its height to fit the table height. (if the table only returned a few rows, the rectangle height would shrink to fit, so something like 1 inch high instead of the 5 I specified)

To fix this, I found the following article (http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=383350) and used the textbox work around that it suggested (I could get no favorable results with nested rectangles). The empty textbox did keep the rectangle from shrinking in height to match the size of the table. However, now the rectangle grows beyond the specificed height if more than one single record is returned in the table, pushing everything else down the page which I can't have happen. Other items below the rectangle have fixed positions they must stay in.

Any ideas? I've toyed with this for hours, and am not getting anywhere.

Thanks!
Post #740463
Posted Friday, August 3, 2012 5:50 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, June 17, 2014 10:16 AM
Points: 3, Visits: 19
did you ever figure this out? i'm having the exact same issue
Post #1340153
Posted Tuesday, August 13, 2013 1:26 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Friday, November 21, 2014 11:37 AM
Points: 14, Visits: 86
Just ran into this issue and fixed it by placing an additional rectangle along one edge of the main container rectangle to "prop" it open to the right height.

Cheers
Post #1483929
Posted Tuesday, March 18, 2014 3:27 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, April 3, 2014 8:37 AM
Points: 1, Visits: 4
Try removing the textbox complete and in the Report properties under 'Other' set ConsumeContainerWhitespace = True. This should fix the issue.
Post #1552421
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse