Categories Property (TableView Object)

The Categories property returns or sets the number of categories in this table view. Read/write.

Syntax

objTableView.Categories

Data Type

Long

Remarks

The Categories property indicates how many levels of grouping are present in the table view. If the view is grouped, or categorized, Categories can contain from 1 through 4, the maximum permitted grouping depth. If the view is not categorized, Categories contains 0.

The nesting depth of a particular group within the table view is given by the Level property of the GroupHeader object that heads that group.