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

To change te data item name in a value prompt

Started by hrk551, 15 Apr 2009 02:56:53 PM

Previous topic - Next topic

hrk551

In a value prompt the first item shown is the data item name i.e (Country_Desc), I need to customize this to ("ALL COUNTRIES). I used the following script it works for the first time but when we reprompt this name again comes back to the data item name.
<script>
   document.formWarpRequest._oLstChoicesIID[0].text = 'YOUR TEXT';
</script>

I am using 8.3 ........


Thanx in Advance....

cognos_guru

Why don't you just use a multiple value prompt and allow the user to select some or all of the countries?

hrk551

Thank you for your reply Cognos_Guru.

But,I this is not the case for milti-select. When a data item is taken as a use value the name of that data item comes as first item in the drop down onselecting that displays the whole countries (in my example) , i need to change only that name .....

Gopinath

Hi,

Just add one more data item in the query and drag and drop Country_Desc data item as the expression.

Use the new data item as the use and display value for your prompt. Rename the prompt parameter to 'ALL COUNTRIES'.

done.