dynamically sizing subreports and textboxes
Here's the report design that I'm working on. Report Design The first subreport may be longer than the red sidebar or it may be shorter than the length of the red sidebar. If it is longer than the sidebar, can it expand to fill the sidebar space as well? (I think the answer is no to this one, but I don't know everything.) How about the red text? If it lies within the length of the sidebar, it should appear as it is shown. But if the subreport pushes the red text region out of the height of the sidebar, it needs to occupy the full width of the page. How can I achieve this? I have the same question for the last subreport. Thank you for the comments, suggestions, workarounds. .:Courtesy of Illusion:.
May 5th, 2011 12:17pm

Hi CodeNewa, From your picture, I get your meaning, you want the subreport or red text region to occupy the full width fo the page if their height exceeds the height of red sidebar, actually, subreport or textbox's width is a static value, we could not set their value dynamically, so your requirement is not possible currectnly, to work around the issue, I think you could make the height of left side red sidebar to suit the height of right side subreport, you could lay these controls into a table with two columns, then they will be the same height. However here I still would recommend you to submit a feedback to Microsoft Connect at this link at this link https://connect.microsoft.com/SQLServer/Feedback This connect site is a connection point between you and Microsoft. Your feedback enables Microsoft to make software and services the best that they can be, Microsoft might consider to add this feature in the following release. Regards, Challen FuPlease remember to mark the replies as answers if they help and unmark them if they provide no help.
Free Windows Admin Tool Kit Click here and download it now
May 10th, 2011 9:59pm

Hi Challen, Thank you for the response. For this design, the red sidebar needs to appear only on the first page whereas the text on the right starts from the first page and continues. For the subreports and the texts, i'll try to design it as your suggestion. Thank you. .:Courtesy of Illusion:.
May 12th, 2011 11:16am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics