COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: malcolm.cantor on 16 Oct 2012 08:53:03 AM

Title: Prompt from a Query
Post by: malcolm.cantor on 16 Oct 2012 08:53:03 AM
Hi

Sure this is simple, I would like to have a value prompt use a query item as its prompt selection. So the item lives in a reprt studio query and not in the database tables.

could anyone point out the solution please

thanks

Malcolm
Title: Re: Prompt from a Query
Post by: MFGF on 16 Oct 2012 10:44:59 AM
Where do the values for the item in question originate? If not in a database somewhere, are they manually entered by the report author?  If so, just select your prompt and go to the 'Static choices' property - you can manually enter them there.

Or am I misunderstanding? (quite normal for me! :) )

MF.
Title: Re: Prompt from a Query
Post by: pricter on 16 Oct 2012 11:05:37 AM
As far I know there are four ways to populate a prompt:

1) From a query that lives in your databases
2) From static choices that the report developer defines them in the propertes of the prompt
3) From an excel that the developer upload it ( in Cognos 10)
4) On the fly the user can populate a prompt with values that are in a csv ( you need to use javascript to achieve this)
Title: Re: Prompt from a Query
Post by: malcolm.cantor on 17 Oct 2012 05:43:24 AM
 :) Thanks for the help, perfect