Rectangle size affected by child Table

  • 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!

  • did you ever figure this out? i'm having the exact same issue

  • 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

  • Try removing the textbox complete and in the Report properties under 'Other' set ConsumeContainerWhitespace = True. This should fix the issue.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply