Contents MDDB Report Viewer Methods Previous Next

_OUTPUT_UPDATE_CLEAR_ Method

Outputs the addstatanal and remstatanal JavaScript functions on the Dimensions page

The addstatanal and remstatanal functions update the list of selected analysis variables as the user makes selections for the report.

Syntax

 CALL SEND(OBJID,'_OUTPUT_UPDATE_CLEAR_');

Example

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;
}

Contents MDDB Report Viewer Methods Previous Next