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

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

How to clear prompt values when the report is rerun

Started by dwsudheer, 14 Feb 2012 08:46:38 AM

Previous topic - Next topic

dwsudheer

Hi,

How to clear prompt values when the report is rerun.

I have a 2 prompt pages.When i rerun the prompt pagesneed to clear the prompt values in 2nd prompt page.
Please advise how to achieve this.


Thanks

dwsudheer


HalfBloodPrince

Hi,

Select ur prompt-set name of the prompt in properties ans UNIT then add a HTML element aft the prompt then  add this code  in HTML.

<script type="text/javascript">
var fW = (typeof getFormWarpRequest == "function" ? getFormWarpRequest() : document.forms["formWarpRequest"]);
fW._oLstChoicesUNIT.selectedIndex = -1;
</script>

Only thing is that name u give to  ur prompt replace that with unit.
Try this and let me know.

sreejithhk

Hi,

We have a option in report studio (Cognos 8.4.1)

Go to File ->Clear Parameter values

I think this will help up!!