Chapter Contents

Previous

Next
Data Set Model: _addRow

Data Set Model: _addRow



Adds a row to the table


Syntax
Details

Syntax

CALL SEND (object-id, '_addRow');


Details

If you modify the current row in the table, you must use the _updateRow method before calling the _addRow method.

The _addRow method is not valid when you browse a table or when the NOADD option is specified in the _setDataset method.

By default, all values in a new row are missing. If an initial value has been stored for the column (using the _setInitial method), the new row contains the initial values for the columns.

The new row is immediately added to the table. If no WHERE clause or key is specified, the new row becomes the current row if the engine supports this behavior.

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


Chapter Contents

Previous

Next

Top of Page

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