### GroupNumber

Basic and Crystal syntax.

##### Returns

Whole Number

##### Action

Returns the current group number.

##### Typical uses

You can use this function in a group selection formula to print some groups and exclude others.

##### Examples

The following example is applicable to both Basic and Crystal syntax:

`GroupNumber`

Creates a field containing the current group number that you can place on your report. Using this formula is the equivalent of using the GroupNumber field in the Special Fields folder in the Field Explorer.

Note: Using this function in a formula forces the formula to be evaluated at print time. For more information on evaluation time considerations, see the Evaluation Time functions.

Seagate Software, Inc. http://www.seagatesoftware.com Please send comments to: techpubs@seagatesoftware.com