COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: srinu_anu2007 on 16 Sep 2012 11:15:31 PM

Title: Conditional block
Post by: srinu_anu2007 on 16 Sep 2012 11:15:31 PM
Hi,

i have 3queris like header, main and detail and i have created 3pages and assigned to each page using 3queries like page1-header and page2-main query and page3-detail query but i want to all display is one page and if u run i want to select in promt page. like if i select header that data will display , if i select 2nd one will display 2nd output same like dat. any one clarify on the same please.

Thanks.
Title: Re: Conditional block
Post by: blom0344 on 17 Sep 2012 01:49:42 AM
You do not need to create pages. You can simply create a table on one page and add blocks to each cell. The blocks will hold the 3 datacontainers respectively mapped to the queries.  It is than a matter of conditionally showing / hiding the blocks based on the logic you implement through an additional prompt.