I add this rectangle to the body?
>you can place controls from the Header and Footer into the rectangle too and set them to repeat on each page
How do I do that? (make the header only appear once on each page) ?
Main Topics
Browse All TopicsHello!
Is it possible to have the whole report (header, body, footer) come inside a frame in SSRS?
This frame is an image.
I want this frame to be the same size on every page, ie I can not not use the body to add it because then it would be dependent of the number of data rows on that page.
Is that possible, and if yes, how do I do that?
ASCII representaion of frame below.
------------------
| header |
| datarow1 |
| datarow2 |
| footer |
|___________ |
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
You just place the rectangle in the BODY and make it as big as you need it to be to fit the "frame". Remember to set the REPORT page size and margin properties properly so that it doesn't start printing extra pages. So if the page width is 21cm and the left and right margin is 0.5cm each, the BODY width cannot exceed 20cm otherwise RS will assume it needs to print 2 pages wide.
You will have a rectangle that is not bound to data, that is so big it can only fit once per page, if you place the controls from the header in the rectangle, they too will only appear once per page.
So your layout would be something like;
+=======Rectangle=========
| |
| +-------------------------
| | Report name | |
| +-------------------------
| |
| +--Table/Matrix/List control ------------+ |
| | | |
| | | |
| | | |
| | | |
| +-------------------------
| |
+=========================
I'll look at the rdl file later, but from the picture your table appears to be wider than your rectangle, assuming there should be some graphics to the right.
When you paste the table inside the rectangle you should select the rectangle before pasting to ensure the table is embedded inside the rectangle.
If you did do that then your graphic may be too small. Set it to repeat to prove that.
>your table appears to be wider than your rectangle
Table x position is 0,5cm, width is 18,3 cm.
Rectangle x position is 0,25, width 21 cm.
As far as I can tell the table is not wider than the rectangle.
>If you did do that then your graphic may be too small
Attached is screenshot from Visual Studio. There you see that graphic is larger than what appear on the report preview. I also attach the sample frame graphic.
http://msdn2.microsoft.com
Looks like only using lines works, see http://www.experts-exchang
Please checkout my new question there (how to avoid different results no page 1 and page 2)
Business Accounts
Answer for Membership
by: chrismcPosted on 2008-03-17 at 07:38:45ID: 21142522
You can add a rectangle control the size of which is fixed. This is the best tool for controlling EXACTLY where things appear in RS.
Make the Background image of this control point to the image of your frame.
Just cut and paste the other controls inside the rectangle.
You wont be able to include the REPORT header and footer in this rectangle but you can place controls from the Header and Footer into the rectangle too and set them to repeat on each page.
There is a Gotcha thouh and that is that Globals!PageNumber and Globals!TotalPages ONLY work in the REPORT header and footer!
Cheers
Chris