ApproxCount Property

       

Returns the approximate number of rows in the grid.

Syntax

object.ApproxCount

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

This property returns the approximate row count used by the grid to calibrate the vertical scroll bar.

Typically, the ApproxCount property is used to improve the accuracy of the vertical scroll bar. This is particularly useful for situations where the number of rows is known in advance, such as when a grid is used in conjunction with an array.

Note   Getting the ApproxCount property will query the underlying data source.