RowCount

Description

Obtains the number of rows that are currently available in a Web DataWindow client control. To determine the number of rows available, the RowCount method checks the primary buffer.

Applies to

Web DataWindow client control

Syntax

number objdwcontrol.RowCount ( ) 

Argument

Description

objdwcontrol

A reference to a Web DataWindow client control

Returns

Returns the number of rows that are currently available in objdwcontrol, 0 if no rows are currently available, and -1 if an error occurs.

Usage

The primary buffer for a Web DataWindow client control contains the rows that are currently available for display or printing. These are the rows counted by RowCount. The number of currently available rows equals the total number of rows retrieved minus any deleted or filtered rows plus any inserted rows. The deleted and filtered rows are stored in the DataWindow’s delete and filter buffers.