MDDB Report Viewer 9.2 |
The dimbtnurl function is called when the Dimensions button is pressed.
CALL SEND(OBJID,'_OUTPUT_DIMBTN_URL_FN_',url);
The following output is produced:
function dimbtnurl() { with (window.parent.main.document.options) { var limit = elements.length; href = "/cgi-bin/broker?_PROGRAM=SASHELP.WEBEIS.LAYOUT.SCL"; for (i=0; i<limit; i++) { if (elements[i].value != "") { if (elements[i].name == "_PROGRAM" || elements[i].name == "VIEW") continue; var thisvar=elements[i].name.toUpperCase(); if (thisvar == "SV") { var sellength = elements[i].options.length; var numselected = 0; for (j=0; j<sellength; j++) { if (elements[i].options[j].selected) { numselected++; if (numselected == 1) { href += "&" + elements[i].name + "=" + elements[i].options[j].value; } href += "&" + elements[i].name + eval(numselected) + "=" + elements[i].options[j].value; } } if (numselected > 0) { href += "&" + elements[i].name + "0=" + eval(numselected); } } else { href += "&" + elements[i].name + "=" + elements[i].value; } } } } return href; }
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.