Hi,
I'm trying to implement the Reset Page Number by Group functionality for a standalone report. I found an example class within the forums. I can see the assembly I've created from the sample code, as well as the function, in the Report Designer(R1 2017) application Edit Expression dialog.
The problem I'm having is that I can't seem to pass the Report object from the report into the user function. I've tried both of the following function signatures but with no luck:
Public Shared Function MyPageNumber(ByVal lastGroupOnPage As String, ByVal reportPageNumber As Integer, ByRef report As Object) As Integer