Click here to Skip to main content
15,039,149 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey i am working on rdlc reports my reports shows list of employes grouped on city in which they live.I have also put page break after each group like:

S.rno Name Number City
1 A jaipur
2 B jaipur

Page 1
S.rno Name Number City
1 C Alwar
2 D Alwar

Page 2

Now I want to show number of pages used in each group like

City Pages
Jaipur 1
Alwar 2 to 5
Ajmer 6 to 8

how could i get this could anyone can sugest me way to fing page numbers at group level

You can try using Global collection objects: Globals!PageName, Globals!OverallPageNumber, and Globals!OverallTotalPagesalong with Group pagination.

Refer the following blog entries and see if they help:
Report Design: Reset Page Number on Group[^]
Group Level Page Numbering using Reporting Services 2008 R2[^]
you should use Global variables
=Globals.ReportName & Globals.PageNumber & " OF " & Globals.TotalPages

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900