I'm using Visual Studio 2017 with the Crystal Reports for Visual Studio installed. After using TotalPageCount from the Special Fields or in a formula in a report, I am unable to save the report. I get no error messages, so I'm kind of lost here. I'm trying to suppress a section on the last page of my report, and this is the suggested method in all searches I have done. I also would like the PageNumber of TotalPageCount in my page footer, but I could live without that if that was my main problem.
Should avoid using TotalPageCount in an expression (such as section suppression) that might impact the page count.
Instead, use something like OnLastRecord or similar logic.