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

Static LOV in FM

Started by AnthonyJ, 04 Mar 2010 03:17:20 PM

Previous topic - Next topic

AnthonyJ

Is there a way to create a static LOV (ie. Yes, No) in Framework Manager and reference that in the prompt macro ?

Something similar to the below -


#promptmany('Display Detail','string','','','['Yes','No']')#

AnthonyJ


CognosPaul

There is no way, in a relational model, to do this. What you can do instead is to create a table with all of the values you need.

Field
------
|Yes |
|No  |
|>   |
|>=  |
|=   |
|<=  |
|<   |
|And |
|So  |
|On  |
------


Then in your prompt macro you can do something like:

#prompt('par','string',sq('default'),'','filter([NS].[Table].[Field],[NS].[Table].[Field] in (' +sq('Yes') + ','+sq('No')+'))')#