all groups > sql server reporting services > april 2007 >
You're in the

sql server reporting services

group:

SQL Reporting- Grouping and Page Break


SQL Reporting- Grouping and Page Break pavmani NO[at]SPAM gmail.com
4/27/2007 7:06:36 AM
sql server reporting services: I need some help on SQL reporting 2005 -Grouping and page break.

I am displaying list of Lobbyist Names in one my reports order by
Names.

I want to Group all the names starts with 'A' and introduce page break
at the end.

Then all the names start with 'B' and show it in next page and so on.

Any idea, please help.

Thanks
Re: SQL Reporting- Grouping and Page Break Rodney Landrum
4/27/2007 11:28:59 AM
You will need to setup two groups, Group 1 with a group expression of the
first letter of the Lobbyist's name:

group expression:
=LEFT(Fields!lobbyistname.Value,1)

You can choose not to display group headers and footers.

Also, set Page Break At End on the Edit Group Properties.
The second group expression will be the name itself.

expression:
=Fields!lobbyistname.Value

Do not set Page Break at End for Group 2.

Hope this helps.

Rodney Landrum
Author, Pro SQL Server 2005 Reporting Services.

[quoted text, click to view]

Re: SQL Reporting- Grouping and Page Break renhanyue
4/28/2007 12:00:00 AM
why not add a column value = LEFT(Fields!lobbyistname.Value,1) in the
dataset??


"Rodney Landrum" <rlandrum13@cox.net> дÈëÏûÏ¢ÐÂÎÅ:uB085jOiHHA.4704@TK2MSFTNGP06.phx.gbl...
[quoted text, click to view]

Re: SQL Reporting- Grouping and Page Break pavmani NO[at]SPAM gmail.com
5/3/2007 9:54:15 AM
[quoted text, click to view]

Thanks you, that worked for me.
AddThis Social Bookmark Button