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

ParamDisplay after using a default selection in Prompt

Started by MikeG, 25 Feb 2015 09:07:03 AM

Previous topic - Next topic

MikeG

Hi,

    I have a prompt to select a report by Year. So it always opens with the current year I put the MUN of the current year into the Default selection of the Prompt properties. All works ok.

However, in the Report Title I have a ParamDisplay to show the prompt selection, with the default selection in use I get the whole of the MUN displayed in the title rather than just 2015. Is there any solution to this that anyone has resolved?

thanks
Mike

bdbits

It might be a typo, but you probably want: ParamDisplayValue('yourparametername')
I see the MUN when I use ParamValue().

MikeG

Hi

Yes I have been using  ParamDisplayValue('Parameter1')

Robl

It's a bit of a bug/feature.

The prompt has a default 'use value' but there's no way to set a default 'display value'.

The best workaround I know is to but the paramdisplayvalue function into an 'if' statement.

So,
if paramvalue = 'yourdefaultvalue'
then defaultdisplavalue
else paramdisplayvalue(?param?)

MikeG