COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: irvingbos on 22 Apr 2013 03:31:28 PM

Title: Deselect does not auto-submit?
Post by: irvingbos on 22 Apr 2013 03:31:28 PM
Hello all, hoping you can shed some light on question - I have an interactive report with a prompt set to radio buttons, populated by query, whose selection I use to filter the records shown on screen. It works well, selecting a value by radio button filters records, doing auto-submits. However, when I click 'Deselect'  below the prompt, nothing happens. I expected a Autosubmitto be executed, and the page refreshed to show all records. All the deselct does is clears the selected radio button.  Is this by design ?!  Anyone know any macros / js to make it perform as I expected it would?

many thanks!
Title: Re: Deselect does not auto-submit?
Post by: Michael75 on 29 Apr 2013 03:44:30 AM
If you are seeing the Select all Deselect all , then your prompt has Multi-Select set to Yes. And if that's the case, Auto-Submit must be set to No, which is why your results are not being refreshed.
I don't know if this is suitable for your report, but you could drag in a Prompt Button of type Finish.

Title: Re: Deselect does not auto-submit?
Post by: Lynn on 30 Apr 2013 01:58:16 PM
I would expect that deselect does not invoke an auto submit. If you want another option besides a finish button you could add a static choice for "All Values" and then alter your filter expression accordingly.


[YourQueryItem] = ?Parameter?
or
?Parameter? = 'All Values'