GroupingDefs Property
Returns the GroupingDefs collection for the specified recordset definition. This collection contains the GroupingDef objects that create grouping levels for the detail records.
expression.GroupingDefs
expression Required. An expression that returns a RecordsetDef object.
Remarks
For information about returning a single member of a collection, see Returning an Object from a Collection.