VSView Reporting Edition Reference > Group Object > Group Methods > Move Method |
Moves a group to a new position in the Groups collection, optionally adjusting its Sections and Fields.
group.Move NewPosition As Long, AdjustSections As Boolean
This method is useful in designer-type applications, when you want to allow users to change the grouping order.
The parameters for the Move method are described below:
NewPosition As Long
This parameter contains the new position for the group (index into the Groups collection).
AdjustSections As Boolean
This parameter determines whether only the group should be moved or whether its header and footer sections, along with all the fields in those sections, should also be moved.