Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

Get last page number from current view

$
0
0

Hi all,

I have some sections in my application where I need to show the total number of pages.

For this I use something like:

 

Dim iinLastPage as Integer

iinLastPage = myReportDocument.FormatEngine.GetLastPageNumber(New CrystalDecisions.Shared.ReportPageRequestContext())

 

But, a user can also drill, so a new view will open besides the main view, with less pages. My question is how can I get the total page numbers from the current view. The code above will always return all report pages, without taking into consideration the current view.

Thanks!


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>