Group level | Refers to |
GroupLevel(0) | The first field or expression you sort or group on. |
GroupLevel(1) | The second field or expression you sort or group on. |
GroupLevel(2) | The third field or expression you sort or group on. |
Private Sub Report_Open(Cancel As Integer)
Me.GroupLevel(0).ControlSource _
= Forms!SortForm!txtPromptYou
End Sub
See Also
ControlSource property, CreateGroupLevel function, GroupInterval property, GroupOn property, KeepTogether Property — Groups, SortOrder property.
Example
See the GroupInterval property example.