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

additional Parameter with Propmpt?

Started by nugget, 06 Feb 2009 05:02:19 AM

Previous topic - Next topic

nugget

Hi Gurus,

i have a Report with a prompt to set a Date filter. How is it possible to send a additional Parameter if a user select a value of the prompt?

FYI: I created a Tap-Navigation where the Parameter (pTabToShow) said which block should be displayed.

The links in the Tab-Navigation look like this:
"<a href="#" onclick="document.formWarpRequest.elements['p_pTabToShow'].value='Tab 1';SetPromptControl('reprompt')">Name of the Tab</a>"

The Problem is when a user select e.g. the tab 3, the reports reloads and shows the bock which contains the information of tab 3 so far so good. But if the user select a filter (prompt) the report reloads and shows tab 1. The Filter works to but i want that the report stay to tab 3 without the user have to select it again after the reload.

I think the Solution ist to send the parameter pTabToShow with his value (here tab3) too, when the prompt is selected.

sorry for my english i hope you understand my Problem.   ;)

Thx

nugget

have nobody any ideas to solve my problems?

Questen 1:
How is it possible to send a second parameter in a link which looks like this:


<a href="#" onclick="document.formWarpRequest.elements['p_pTabToShow'].value='Tab 1';SetPromptControl('reprompt')">Tabname</a>


Question 2:
How is it possible to send a parameter via drillthrough if the drillthrougreport dont need the parameter (when i click on the pen-icon in the drillthroughoptions the parameter which i want to send is not showed because its defined by a htmlobject)?

greets nugget