| MDDB Report Viewer 9.2 |
The addstatanal and remstatanal functions update the list of selected analysis variables as the user makes selections for the report.
CALL SEND(OBJID,'_OUTPUT_UPDATE_CLEAR_');
The following output is produced:
function addstatanal(select,analysisbox) {
select.length=0;
for (i=0; i < analysisbox.length; i++){
if (analysisbox.options[i].selected) {
select.options[i] = new Option(analysisbox.options[i].text, analysisbox.options[i].value);
}
}
}
function remstatanal(listbox) {
if ( listbox.options.length > 0 ){
listbox.options.length=0;
}
return false;
}
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.