| MDDB Report Viewer 9.2 |
This function is called when either the Rotate button or the Download to Spreadsheet button is pressed.
CALL SEND(OBJID,'_OUTPUT_SETURL_FUNCTION_');
The following output is produced:
function setURL(varName) {
newURL='';
with (window.parent.frames[1]) {
newURL=eval(varName);
}
if (varName == 'downloadURL')
document.location=newURL;
else if (varName == 'rotateURL')
window.parent.frames[1].document.location=newURL;
}
function addtofav(varName){
LinkName=window.document.title;
with (window.parent.table_window) {
linkUrl=eval(varName);
}
window.external.AddFavorite(linkUrl,LinkName);
}
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.