If you are unable to create a new account, please email support@bspsoftware.com

 

report not working in workspace advanced

Started by pankaj, 21 May 2015 07:41:56 AM

Previous topic - Next topic

pankaj

hi
i need a quick solution ..i have three value prompts in report studio they are in cascading okk bt i want to directly select the third prompt and whn i select the third prompt it will disappear all the two selected prompts THAT IS CLEAR THE SELECTION I IMPLENT THIS THING USING THE JAVASCRIPT IN THE HTML ITEM BT whn i am running the report in the workspace advanced i am nt abe to make this selection .. inned this please give appropriate solution for this problem

script>
var list_prompts = document.getElementsByTagName("select");

function ClearSelections(){
  for (var i=0;i<list_prompts.length;i++)
  {
    list_prompts.selectedIndex = -1;
  }
}
</script>

<a href="JavaScript:ClearSelections()">Clear All Selections</a> this works fine in rs bt nt in workspace advanced

MFGF

Quote from: pankaj on 21 May 2015 07:41:56 AM
hi
i need a quick solution ..i have three value prompts in report studio they are in cascading okk bt i want to directly select the third prompt and whn i select the third prompt it will disappear all the two selected prompts THAT IS CLEAR THE SELECTION I IMPLENT THIS THING USING THE JAVASCRIPT IN THE HTML ITEM BT whn i am running the report in the workspace advanced i am nt abe to make this selection .. inned this please give appropriate solution for this problem

HI. YOU DIDN'T TELL US THE VERSion of Cognos 10 you are usING NOR HOW YOUR REPORT IS written. You mentioned using javascript, but we have no ideA WHAT THAT CODE IS. I'D SAY It's pretty difficult for anYONE to give you an answer unless you provide LOTS MORE DETAIL.

WOW! This post seems to make the CAPS LOCK STICK ON somewhat, doesn't it? :)

mF.
Meep!