COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: Revathi_M on 04 Dec 2014 07:23:56 AM

Title: conditional checkBOX
Post by: Revathi_M on 04 Dec 2014 07:23:56 AM
Hi anybody explain me.
I am using cognos 10.2 and relational database

HI when checked check box  display "Hi This ABC"
when unchecked check box display "HI THIS "DEF"
I tryed  steps:
values prompt changed checkbox group then static choice is "SELECT CHECK BOX"
2.conditional explore IF(ParamDisplayValues('param1') is null Then 'SELECT CHECK BOX' else 'unCheck'
3.in prompt page drag and drop two  text item  one for "Hi This ABC"    2nd for  "HI THIS "DEF"
4.i am select rendervarible

but when i select checkbox and uncheck show same text item value

if click run button it work i need without run button it can show depending check and uncheck

if i can select prompt properties autosubmit =yes may be it work but autosubmit is showing "no" i need report page only.

Thanks
Revathi_M



 
Title: Re: conditional checkBOX
Post by: MFGF on 04 Dec 2014 11:36:19 AM
Quote from: Revathi_M on 04 Dec 2014 07:23:56 AM
Hi anybody explain me.
I am using cognos 10.2 and relational database

HI when checked check box  display "Hi This ABC"
when unchecked check box display "HI THIS "DEF"
I tryed  steps:
values prompt changed checkbox group then static choice is "SELECT CHECK BOX"
2.conditional explore IF(ParamDisplayValues('param1') is null Then 'SELECT CHECK BOX' else 'unCheck'
3.in prompt page drag and drop two  text item  one for "Hi This ABC"    2nd for  "HI THIS "DEF"
4.i am select rendervarible

but when i select checkbox and uncheck show same text item value

if click run button it work i need without run button it can show depending check and uncheck

if i can select prompt properties autosubmit =yes may be it work but autosubmit is showing "no" i need report page only.

Thanks
Revathi_M





Sorry - I can't understand what you have posted here. Can you explain it in simple terms a muppet can understand?

MF.
Title: Re: conditional checkBOX
Post by: Revathi_M on 05 Dec 2014 12:12:54 AM
HI

need single CHECK BOX when select CHECKED display "table" when select unchecked DISPLAY "CHART"
Title: Re: conditional checkBOX
Post by: MFGF on 05 Dec 2014 05:54:36 AM
Quote from: Revathi_M on 05 Dec 2014 12:12:54 AM
HI

need single CHECK BOX when select CHECKED display "table" when select unchecked DISPLAY "CHART"

If you use check boxes, you can't have your prompt auto submit - you could use radio buttons for Table and Chart though. You could either use a Render Variable or you could use a conditional block.

MF.