GetRow

Description

Reports the number of the current row in a Web DataWindow client control.

Applies to

Web DataWindow client control

Syntax

number objdwcontrol.GetRow ( )

Argument

Description

objdwcontrol

A reference to a Web DataWindow client control

Returns

Returns the number of the current row in objdwcontrol. Returns 0 if no row is current and -1 if an error occurs.

NoteCurrent row not always displayed The current row is not always a row displayed on the screen. For example, if the cursor is on row 7 column 2 and the user uses the scroll bar to scroll to row 50, the current row remains row 7 unless the user clicks row 50.