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 change prompt start value from parameter to our own value

Started by venkiatmaruthi, 05 Jan 2011 10:57:10 PM

Previous topic - Next topic

venkiatmaruthi

I have value prompt and corresponding parameter P_salesID.

When I run the report, the prompt is displaying by defualt parameter P_salesID.
I want this to be changed to <select>.


How could I do this?

Thanks

Gopinath

In your prompt query, create a new data item and in the expression drag and drop Sales_ID

Use the new data item as the USE and DISPLAY value for the value prompt.

Change you prompt parameter from P_salesID to <select>

venkiatmaruthi

Gopinath,

is this working for 8.2? I tried but it's not.


anyway I used Javascript to do this task.

<script>

function init()
{
var form = document.forms["formWarpRequest"];
var listB = form._oLstChoicesP_salesID;
listB.options[0].text='<select>';

listBoxP_salesID.checkdata();

}

</script>
<body onload=init()>



Thanks