Groups2.Add Method (Project)

Adds a Group2 object to a Groups2 collection.

Syntax

expression. Add( _Name_, _FieldName_ )

expression An expression that returns a 'Groups2' object.

Parameters

Name Required/Optional Data Type Description
Name Required String The name of the group.
FieldName Required String The name of the field being grouped by.

Return Value

Group2

See also

Groups2 Collection Object