how to get page no. on group level section

Falcon88

Registered User.
Local time
Today, 19:52
Joined
Nov 4, 2014
Messages
309
hi
i have a report with group level section , i use this code :
Code:
Private Sub G1Header_Format(Cancel As Integer, FormatCount As Integer)
If Me.InsurCmpName = 3 Then
Me.G1Header.ForceNewPage = 1
End If
End Sub
how to get the page no. of that section exactly not to all the report ?
 

Me.Pages is the total number of pages in the report. Me.Page is the current page's number. If you are in VBA at the time, of course.
 
See the code in my article:
 

Users who are viewing this thread

Back
Top Bottom