COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Sarayucog on 25 Aug 2011 04:52:34 AM

Title: Report should run after click on the Finish button
Post by: Sarayucog on 25 Aug 2011 04:52:34 AM
I have one requirement, I have report objects and prompts are in the same report page. The report should run after click Finish button. I have below prompts,

Country           - Required & Auto submit

Language          - Optional (Cascaded from Country)

Start & End Date  - Required

Report is displaying result when select Country, bcz country is auto submit prompt and date is having today as start & end date. so that  report needs to run after click Finish button. We need to set or write html script on Finish button. Or do you have any idea?

If its possible with JavaScript. Please provide me that code.

Your help will be more appriciated.
Title: Re: Report should run after click on the Finish button
Post by: MFGF on 25 Aug 2011 07:09:31 AM
If I'm understanding correctly, you simply need to drag in a Prompt Button from the toolbox and set it's type to "Reprompt". You can relabel the button by dropping a text item directly on top of it.

Regards,

MF.