Bands Property (MSHFlexGrid)

       

Returns the total number of bands in an MSHFlexGrid. The MSHFlexGrid always has a minimum of one band. When the MSHFlexGrid is bound to a standard Recordset, the entire MSHFlexGrid is treated as one band.

Syntax

object.Bands [=value]

The Bands property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value The total number of bands in an MSHFlexGrid.

Remarks

This property is read-only. The number of Recordsets in the hierarchy of Recordsets with which the control is bound defines the value.

See the Col and Row properties.