COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Active Reports => Topic started by: charon on 12 Jan 2012 09:32:44 AM

Title: [solved] Hide report objects via checkbox
Post by: charon on 12 Jan 2012 09:32:44 AM
hi there,

i remember a presentation of the IBM IOD last year, where sb. showed an active report with a checkbox. activating the checkbox results in hiding/ showing another object (eg. list).

I think this has to be done with a static deck, but i cant get it done..anybody an idea how to implement this in report studio?

looking forward for hints  ::)
ty and cheerz :P
Title: Re: Hide report objects via checkbox
Post by: charon on 13 Jan 2012 07:29:32 AM
hi...
the solution is much simpler then i thought...just
1) get a static data deck
2) checkbox or radiobutton
3) create variable to controll data deck through the radio button
4) let 1 card empty, the second (or third, depends on how many cards you choose to take) fill with cpontent
thats it...

cheerz :P
Title: Re: [solved] Hide report objects via checkbox
Post by: funkigreendog on 16 Jan 2012 06:31:30 PM
You can also do it using the default card of a data deck.

If you set the variable controlling the data deck card selection to null, it will display the default card (which can be left empty, thus hiding the data deck).