COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => Topic started by: BIsrik on 12 Sep 2005 04:32:18 AM

Title: Prompt Requirment
Post by: BIsrik on 12 Sep 2005 04:32:18 AM
Hi,

I have prompt requirement like this..

There are two prompts. Prompt A and Prompt B. Both the prompts are parameterized prompts that is using parameters for the prompts and not the database columns for source.

There are three values displayed in prompt A ( XX,YY,ZZ). The reqd is if the user selects the value XX then the prompt B should be disabled. if he selects YY or ZZ from Prompt A then Prompt B should be enabled.

How should i do this..Plz help me..

Srik

Title: Re: Prompt Requirment
Post by: sir_jeroen on 14 Sep 2005 03:24:14 PM
Try it using Conditional formatting. As far as I know this is the only way to do this.
Title: Re: Prompt Requirment
Post by: Darek on 14 Sep 2005 09:40:12 PM
No it is not the only way. Simple JavaScript as HTML Item does the trick, too.
Title: Re: Prompt Requirment
Post by: BIsrik on 15 Sep 2005 12:48:12 AM
i couldn't get both the ideas. Plz put more light on it...

Srik
Title: Re: Prompt Requirment
Post by: Darek on 15 Sep 2005 07:13:26 PM
You need to write a small JavaScript function that will find both prompts and control visibility or accessibility of one based on the value of another.