GetCurrentRow Method

Description

Returns the row number of the current (active) row in the run-time Data pane sheet.

Syntax

DTSheet.GetCurrentRow

Return Value

Number

Example

The following example uses the GetCurrentRow method to retrieve the row currently being used by the design-time or run-time data table and writes it to the report.

row = DataTable.GetSheet("MySheet").GetCurrentRow

Reporter.ReportEvent 1, "Row Number", row