GroupingDef Object



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 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 collection's Add method
-
The GroupingDefs collection's AddTotal method
-
The GroupingDefs or AllGroupingDefs collections' Item property