SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Rectangle size affected by child Table


Rectangle size affected by child Table

Author
Message
SqlAsSecondLanguage
SqlAsSecondLanguage
SSC-Enthusiastic
SSC-Enthusiastic (183 reputation)SSC-Enthusiastic (183 reputation)SSC-Enthusiastic (183 reputation)SSC-Enthusiastic (183 reputation)SSC-Enthusiastic (183 reputation)SSC-Enthusiastic (183 reputation)SSC-Enthusiastic (183 reputation)SSC-Enthusiastic (183 reputation)

Group: General Forum Members
Points: 183 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!
Sebastian Zeits
Sebastian Zeits
Grasshopper
Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)

Group: General Forum Members
Points: 21 Visits: 20
did you ever figure this out? i'm having the exact same issue
DBA Intrepid
DBA Intrepid
Valued Member
Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)

Group: General Forum Members
Points: 60 Visits: 204
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
ptormey
ptormey
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 Visits: 4
Try removing the textbox complete and in the Report properties under 'Other' set ConsumeContainerWhitespace = True. This should fix the issue.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search