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


Page breaks in columns of one table in ssrs page


Page breaks in columns of one table in ssrs page

Author
Message
srinivas.devaruppala
srinivas.devaruppala
Grasshopper
Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)

Group: General Forum Members
Points: 11 Visits: 2
I am creating a SSRS 2008 Report in my report i have 200 columns, it is difficult for visualizing purpose, is there any way in SSRS by which i can show 20 column per page with row hearer in each page.

ex..

|columns | u_id | u_val u_name | u_sal | u_desg | u_add1| u_add2 | col1| col2| col3| 10 | 11 | 12 |13 | 14| 15| ...................................................................................................................................................................................................
rows1 2010 5 4 sri 700 SSE
rows2 2011 9 test 500 TL ffg dfd df df
rows3 1 2 tett 500 SE
rows4
can i break to show only 20 columns in first page & remaining 20 second page & show on with column heaer repeat in each page


Thanks

Srinivas
Steven.Howes
Steven.Howes
SSCommitted
SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)

Group: General Forum Members
Points: 1608 Visits: 2354
If you size your columns appropriately SSRS will do this for you. I usually have to work to have it not do this. I'm not sure if the page header will repeat or not, as I said, I usually try to get rid the columns breaking into two pages.

If the header doesn't repeat you could always try disabling it and recreate the header in the body of the report in a rectangle. Something like this:

[Rectangle1 with [Recangle2 with
Header stuff] headerstuff]
C1, C2, C3...C20 C21..C40, etc

Does that make sense? I don't envy you, even if what I did works for you, it's still going to be a major Pain to make this work. So what do the users do with this report? Do they print it out and lay the pages side by side to view the data?
John Robinson-395995
John Robinson-395995
Grasshopper
Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)

Group: General Forum Members
Points: 13 Visits: 508
For the page breaks select the column in the Row Groups section (bottom left of the designer window), then expand the Group property then PageBreak. Add an expression using the RunningValue command in the Disabled property to evaluate into whenever you want a break such as:

=iif(runningvalue(fields!ID.value,count,"enter tablix control name here") mod 20=0,false,true)

For the repeating headers try right click the row, Tablix Properties, then Repeat header columns on each page.

That should do it.
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