March 19, 2013 at 4:38 am
I have a report. My report has 898 pages.
When i first load the report the page counter states that the report is:
1 of 2 ?
Then when i click next page it states
2 of 3 ?
Then 3 of 4 ?
and so forth. Does anyone know why this happens in Report Manager.
I would imagine that when the report loads it should state: 1 of 898, then when you click next 2 of 898.
March 19, 2013 at 1:35 pm
I believe this is because each page of the report is rendered as you go through them. If you hit the double arrow to take you to the last page, then SSRS "knows" you have 898 pages and will then display the number of pages properly.
March 20, 2013 at 6:07 am
You can always use something like =CountRows("DataSetName") to show the total number of records returned from the data set. The Report Viewer renders the information so the page count will not show the total page count. But you can add the record count using code on the report itself.
HTH.
Mike
March 27, 2013 at 10:05 am
please make at bottom expression as below
="Page " & Globals!PageNumber & " of " & Globals!TotalPages
Thanks
Raj
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply