how to get page number value in body.
I tried for Global.pageNumber, but it works only in footer and header. and also i wrote custom code but it always shows page 1-1 .
and also i tried for ReportItems!Field.Value but it works only for body to footer.
My custom code is
Public Function PageNumber() as String
Public Function TotalPages() as String
Dim str as String
str = Me.Report.Globals!TotalPages.ToString()
Thanks in advance