Chapter Contents |
Previous |
Next |
Extended Table: _erroron |
Overrides | This method overrides the _erroron method for the Widget class. |
Syntax | |
Details | |
Examples |
Syntax |
CALL NOTIFY (extended-table-name, '_erroron', row<, widget-name>); |
Argument | Type | Description |
---|---|---|
row |
N | the row that contains the widget. If row is 0, all rows up to the current maximum are processed. |
widget-name |
C | the name of the widget. If widget-name is blank, all widgets in the row are processed. |
Details |
In addition to inheriting the functionality from the _erroron method for the Widget class, _erroron for extended tables enables you to initialize or change the ERROR attribute for widgets outside the GETROW and PUTROW sections of your program. If row or widget-name name is specified, _erroron causes the GETROW section of your SCL program to execute when the extended table receives a _refresh.
In order for the MAIN section to execute after the _erroron method, you must specify the CONTROL ERROR statement at the beginning of the SCL program.
Examples |
These examples show different ways to turn on the ERROR attribute:
MAIN: call notify('table','_erroron',5,'obj1'); return;
MAIN: call notify('table','_erroron',0,'obj1'); return;
MAIN: call notify('table','_erroron',12); return;
MAIN: call notify('table','_erroron',0); return;
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.