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
Guys anybody can u assist me on this.
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.
Hi,
We have a option in report studio (Cognos 8.4.1)
Go to File ->Clear Parameter values
I think this will help up!!