Chapter Contents

Previous

Next
Data Set Data Model: _getRow

Data Set Data Model: _getRow



Reads a row from the table into the Data Set Data Vector class


Syntax
Details
See Also

Syntax

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

Argument Type Description
datavector-id
N specifies the object identifier of an instance of the Data Set Data Vector class. The values for the specified row are stored in the data vector and can be accessed using Data Set Data Vector class methods.
row-num
N specifies the relative row number to be read. It becomes the current row.


Details

Note:   You do not have to use _getRow to read a row if you are using a data form or a data table. Instead, use _getColumnAttribute, _getColumnText, or _getColumnValue.   [cautionend]

After calling _getRow, you can use the _getColumnText and _getColumnValue methods of the Data Set Model class or the _getText and _getValue methods of the Data Set Data Vector class to retrieve the values read from the table.

The _getRow method sets SYSRC for error, note, and warning conditions.

See Also

_lockRow


Chapter Contents

Previous

Next

Top of Page

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