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

redirection from promptpage

Started by nsrajiv, 11 Aug 2005 04:17:13 AM

Previous topic - Next topic

nsrajiv

Hi all

i have a prompt page containing a TextItem. based on the input to this textItem i need to call either the report page 1 or report page 2.

please tell me how i can achieve this.

thanks & regards
Rajiv.

dgleason42

The high level answer that I have used is to create a conditional variable based on your text box (use a text box prompt and assign the value to a parameter, then create your variable based on that parameter). You then create Conditional Layouts based on that variable using the Conditional Layouts command on the file menu. You can then see the different layouts from the Page Explorer view - select a layout and you can add report page(s) and even additional prompt page(s).

In my scenario I use conditional layouts to display different pages based on a parameter passed to a report from a drill-through, but the same concept applies here I believe. the Report Studio documentation has a good entry on this under "Adding Conditional Formatting to a Report" under "Add Multiple Layouts" that step through the process in detail - it's geared more toward multilingual layouts, but can use any variable type.

I hope this helps!

sridhar_world

I would suggest to create a single page instead of two pages and change the contents of the page using conditional blocks to show different controls based on the variable value . 

But, this approach might be complex if you have 5 to 6 different pages to Navigate based on
the prompt value instead of 2 pages.

I think for your requirement, Conditional Layouts approach might not work. I remember trying out this sometime back. share with us if you could do that...