Public Function Grouping_IsLastGroupRow (
GroupDefIndex As Integer,
Optional RowIndex As Long = -1,
Optional SkipLastRec As Boolean = False
) As Boolean
Is this the last row in the group ?
The group definition index.
The row index to use for grouping calculation, or the current iterated row in the underlying DataList if omitted.
Iteration is normally used.
Dim obj As New xf_DataListExt
Dim b As Boolean
b = obj.Grouping_IsLastGroupRow(GroupDefIndex)
b = obj.Grouping_IsLastGroupRow(GroupDefIndex, RowIndex, SkipLastRec)
Debug.Print lstExt.Grouping_IsLastGroupRow(2)