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

promptpageprompt with multiple values

Started by johangel, 14 Nov 2011 12:17:52 PM

Previous topic - Next topic

johangel

I have a promptpage and 3 pages.
When promptpageprompt = 1 then render page 1 by using boolean1: param_display_value prompt =1
When promptpageprompt = 2 then render page 2 by using boolean2: param_display_value prompt =2
When promptpageprompt = 3 then render page 3 by using boolean3: param_display_value prompt =3
Sometime users want to generate the 3 pages in 1 time.
So I make promptpageprompt multiselect.
But how to bild the booleans? ==> param_display_value prompt in ('1','2','3') is of course not working because the 3 pages are then always rendered.
Thanx, Johan

blom0344

Add a fourth value as option like   'display all'

When promptpageprompt = 1 then render page 1 by using boolean1: param_display_value prompt =1 or param_display_value prompt = 'display all'
When promptpageprompt = 2 then render page 2 by using boolean2: param_display_value prompt =2 or param_display_value prompt = 'display all'
When promptpageprompt = 3 then render page 3 by using boolean3: param_display_value prompt =3 or param_display_value prompt = 'display all'

johangel

and when user want only page 1 and page 2?

pricter

Instead of using "=" try using "contains"
for example
param_display_value prompt contain '1'
param_display_value prompt contain '2'
param_display_value prompt contain '3'