If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Cascading prompts in tabbed prompt - wishful thinking maybe

Started by Tseug, 23 Apr 2010 04:22:27 PM

Previous topic - Next topic

Tseug

Hello!  I used this document http://download.boulder.ibm.com/ibmdl/pub/software/dw/dm/cognos/reporting/workshops/report_studio_workshop_-_tabbed_prompt_report.pdf

and created a tabbed prompt just like the example.  It pops back and forth from one tab to the other just fine.

I added a value prompt to Tab1 (A) and two value prompts to Tab2 (B and C).  "A" auto-submits and cascades to "B", and "B" auto-submits and cascades to "C".  After "C", the user would click 'Finish'.

I make a selection in "A" on Tab1, and then go to "B" on Tab2, everything appears as expected.  When I make a selection in "B", it takes me back to Tab1 to re-select a value in "A".  Only then can I return to Tab2 to see the correct display of "C".

How can I make a selection in "B" and simply have the data flow through to "C" without having to return to "A" first.

I apologize if that is confusing.



rlp

I ran into the same issue and was able to solve the problem by adding the p_pTabToShow variable to each conditional block instead of globally in the report header (see page 10 of the PDF document).  I customized the variable in each block to read similar to this:

Block 1:
<input type="hidden" name="p_pTabToShow" value="Tab1"/>

Block 2:
<input type="hidden" name="p_pTabToShow" value="Tab2"/>

Block 3:
<input type="hidden" name="p_pTabToShow" value="Tab3"/>

If you define the cascading prompts within the same block, the block stays active without any additional coding needed.

Hope this helps.