Monday, February 20, 2012

Page numbering - X of Y format

I have a reporting services application which generate reports for given IDs. You can pass any number of IDs.
e.g.. If you pass 2 IDs it will generate a single report for those 2 IDs..
Page numbering would look like
1,2,3,1
for ID 1 it has generated 3 pages while for ID 2 it has genereted only 1 page.

But I want the page numbering to return 1 of 3,2 of 3, 3 of 3, 1 of 2, 2 of 2.

Parameters i pass to generate the report is only the ID. It will be in a string format & the SP I use to get data split the string & get the relevant IDs...

Any help to achieve this will be great.

thanks

If you don't need the "of y Pages"-Part look at:
http://blogs.msdn.com/bwelcker/archive/2005/05/19/420046.aspx
|||Hi thanks for the reply; but i doo want of y pages :(

No comments:

Post a Comment