Chapter Contents

Previous

Next
Data Form and Data Table: _getCurrentRowNumber

Data Form and Data Table: _getCurrentRowNumber



Returns the relative row number of the current row

Delegated to: Data Set Data Model class


Syntax
Details

Syntax

CALL SEND (object-id, '_getCurrentRowNumber',row-num);

Argument Type
Description
row-num N returns one of the following:


the relative row number of the current row.


-1 if no row is current or if no rows are displayed


a missing value if the row is new


Details

In a data form, the value returned for row-num is the currently displayed row regardless of the mode and locking level.

In a data table, the value returned for row-num varies based on mode and locking level. If the mode is edit with record level locking, then row-num is the currently locked row. If the mode is browse or edit with member level locking, then the value returned for row-num is the row where the data table's active cell indicator is located.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.