Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

prompt calculation and multiple selection

Status
Not open for further replies.

Hsiao

Programmer
Oct 18, 2002
15
US
Hi,

On my Cognos report, I have a value that is calculated from a value passed from a picklist prompt. The value is a concatenated string of values gathered from prior prompts to filter data on the report (since Cognos prompts only allow one value to be passed and I need all the values from previous prompts to use in the where clause of my query) So, I parse it to use each of the values. Snippts are pasted below to illustrate my process:

The filter (partial): Building Category SQFT University ID in (UnivID)

UnivID: substring(BldgNoUnivIDFY, BkslashPos + 1 , LinePos - BkslashPos - 1)
BldgNoUnivIDFY: ?\Prompts\Pick Building?
...(the formula of BkslashPos and LinePos are skipped)

However, it seems that if I calculate the value from the picklist prompt, the prompt will not display as a multiple selection list even if I have the "IN" operator in the filter. Could anyone let me know if there is a way to get around this or is this merely a limitaiton of Cognos and I need to re-design my report scheme?

Thanks in advance.

Regards,
Hsiao

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top