Chapter Contents

Previous

Next
Data Set Model: _setAutosave

Data Set Model: _setAutosave



Sets a new autosave value


Syntax
Details

Syntax

CALL SEND (object-id, '_setAutosave', autosave);

Argument Type Description
autosave
N specifies the new autosave value for the table. This value must be greater than 0.


Details

The _setAutosave method specifies how frequently the model automatically saves the table. The autosave value determines how many rows must be changed before an automatic save is performed. By default, the table is saved automatically whenever 25 rows have been modified since the last save.

To check the current autosave parameter value, use the _getAutosave method.

Regardless of the autosave value, you can save the table at any time by using the _save method.

When the table is saved due to the autosave setting, you no longer have a current row. Methods requiring a current row, such as the _copyRow and _deleteRow methods, fail if a new current row is not established after the save by using the _getRow or _fetchRow method.


Chapter Contents

Previous

Next

Top of Page

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