Is there any way to get total pages in ssrs report body? I tried different metods but could not get page number in the report body
I don't think it is possible to do what you are asking.
The Globals!TotalPages
value is only available once the report body has finished rendering, until then the server will not know the total number of pages in the report.
This is why an error is generated when you try and reference TotalPages
in the report body. You will only be able to use this value in the header or footer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With