COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: ajaju on 17 Feb 2009 03:57:27 AM

Title: Page selection from list prompt
Post by: ajaju on 17 Feb 2009 03:57:27 AM
Hi,

In my report I have several pages which contain different report layout.
How can I populate the require page via the list prompt from a prompt page?

eg. List prompt would contain
Report abc
Report xyz

If the user select 'Report abc' from the list then 'Report abc' will be display, if select 'Report xyz' then 'Report xyz' will be display

Thanks in advance.
Aarti
Title: Re: Page selection from list prompt
Post by: blom0344 on 17 Feb 2009 12:11:26 PM
Take some time to read about render variables. These can be used for loads of uses , including hiding and showing complete pages..
Title: Re: Page selection from list prompt
Post by: crn.siva on 18 Feb 2009 02:12:11 AM
Hi,

First take one blank report--> goto the prompt page and select value prompt--> click finish--> in the prompt page goto the file menu and select the conditional layout--> select string variable and give the values(Report abc and Report XYZ)--> click on ok-->in the expression window drag and drop the parameter in to the expression editor--> click ok

select the value prompt and go to the static choice property give the use and display values as(1 is Report abc and 2 is ReportXYZ).

you see the automatically pages was created like the page name as report abc and reportxyz.

goto the reportabc--> what ever you can see in this page give that values and like that report xyz also.

try this way, i think it is suitable to you.

any grammer mistakes excuse.

bye
Title: Re: Page selection from list prompt
Post by: Gopinath on 23 Feb 2009 01:37:21 AM
As blom suggested this can be achieved using render variable.

Create a render variable for each of your static choice(prompt) and apply it to report pages.