Chapter Contents |
Previous |
Next |
Row/Column Data Vector Class: _setEndOfData |
Syntax | |
Details |
Syntax |
CALL SEND (data-vector-id, '_setEndOfData', end); |
Argument | Type | Description | |
---|---|---|---|
end |
C | specifies the hard end-of-data status: | |
'Y' | this is the hard end of data | ||
'N' | this is not the hard end of data |
Details |
The _setEndOfData method is valid if the viewer is either a form editor or a table editor. The hard end of data is related to the soft end of data controlled by the _getSoftEndOfData and _setSoftEndOfData methods.
Both hard and soft end-of-data status are used to notify the viewer that the row or column being requested is past the number of rows or columns that the model has. For example, if there are three columns in a model, on a viewer's call to _getColumnInfo requesting information about column 4, the model sets the end-of-data status to 'Y'.
The difference between setting the hard end of data and the soft end of data is that with the hard end of data you cannot scroll in the table editor, while with the soft end of data you can scroll. The hard end of data is useful for models with a stable and known number of rows or columns, while the soft end of data is useful for models with a changing or unknown number of rows or columns.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.