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

 

tabbed report need to hide 2nd tab until Next button is clicked - RESOLVED

Started by maxchuie, 18 Jan 2017 01:07:14 PM

Previous topic - Next topic

maxchuie

I have a requirement
cognos 10.2.2 
In report studio report is tabbed report output. 

first page tab:  has prompts with a Next button
2nd Page tab has a hperlink  button with drill through definitions to a report list

I need to hide tab 2 until the next button is clicked

TIA!!!!

maxchuie

followed these steps from http://www.cognoise.com/index.php?topic=5786.0

1.  Create Page 1 and Page 2 for your report.

2.  Create the prompt page with Prompt 1 and Prompt 2.

3.  Create a BOOLEAN variable with the following expression:  ParamDisplayValue('Parameter1') IS NOT NULL.  Name the expression "Parameter1 is not NULL"

4.  Create another BOOLEAN variable with the following expression:  ParamDisplayValue('Parameter2') IS NOT NULL.  Name the expression "Parameter2 is not NULL"

5.  Select "Page1" from the Page Explorer in Report Studio.

6.  Click the Page Body and then click the Ancestor Button to display parent objects for the Page Body.

7.  Select "Page" from the local menu that appears when you select the Ancestor button.  The properties for the Page object will appear in the Properties pane.

8.  Click the "Render Variable" property and select the "Parameter1 is not NULL" variable from the drop-down list.  This will allow Page1 to be rendered whenever the prompt value for Parameter1 is not NULL.

9.  Select "Page2" from the Page Explorer in Report Studio.

10.  Click the Page Body and then click the Ancestor Button to display parent objects for the Page Body.

11.  Select "Page" from the local menu that appears when you select the Ancestor button.  The properties for the Page object will appear in the Properties pane.

12.  Click the "Render Variable" property and select the "Parameter2 is not NULL" variable from the drop-down list.  This will allow Page2 to be rendered whenever the prompt value for Parameter2 is not NULL.


In this scenario, when one or more values for Parameter1 are selected, Page1 will appear in the report output.  If one or more values for Parameter2 are selected, Page2 will appear in the report output.  If the user selects values in both parameters, both Page1 and Page2 will be rendered in the output.