Represents a grouping definition. A grouping definition is a special type of recordset definition. As with RecordsetDef objects, you can use a grouping definition's name in the Execute method and in the RecordSource property of a group level or element extension.
A grouping definition defines an ADO grouping recordset that appears as a parent of the containing recordset in the hierarchy or recordsets produced by a page. At run time, all of the data for the containing recordset definition is fetched before the grouping recordset is created.
Using the GroupingDef Object
The following methods and property return a GroupingDef object:
The GroupingDefs object's Add method
The GroupingDefs object's AddTotal method
The GroupingDefs object's Item property