COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: midhl on 17 Mar 2009 07:54:09 AM

Title: Prompt page to be displayed in the child report or dril thru report
Post by: midhl on 17 Mar 2009 07:54:09 AM
Hi,

I've got a summary report which has a drill through on it and the child report has
a prompt page which has 5 prompts which are created using static choice and are
optional prompts(These parameters are not used in the parent report).The
issue is when i drill thru from the parent report to the child report i need to display the
prompt page in the child report so that the user can choose values in it (currently its not getting displayed because all the
prompts are optional).Also there are prompts and filter conditions in the parent report which are being passed
from the parent to the child.
Currently i created a dummy condition using the child report prompt parameter and made the filter as required ,by this
prompt page in the child report is getting displayed however unless and until i choose values from all the prompts the child report output
is not getting displayed but as per my requirement these prompts are optional
Could someone help me.Thanks
Title: Re: Prompt page to be displayed in the child report or dril thru report
Post by: globalbear on 18 Mar 2009 09:22:42 AM
Two suggestions:

1) Run the child report again using the blue run arrow in the cognos toolbar. This will make the child report to run from start independent of the master report. Put a text on the child report to eplain for the consumer how to do this.

2) Put the prompts directly on the report page (not a prompt page). This will show the consumer directly which prompts are being used. Also put a reprompt button somewhere on the page (you don't have to - you could use the blue run arrow if you like, but a reprompt button is more explaining to the consumer).
Title: Re: Prompt page to be displayed in the child report or dril thru report
Post by: midhl on 21 Mar 2009 03:43:26 AM
Thanks for your reply,it was achieved by using java script and a hidden prompt in the prompt page.
Anyway thanks once again