COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: joelyue on 07 Jun 2011 01:02:50 AM

Title: Using sql query list as prompt list
Post by: joelyue on 07 Jun 2011 01:02:50 AM
How do i use the results from an sql query as the prompt input of my report?
Title: Re: Using sql query list as prompt list
Post by: navissar on 07 Jun 2011 02:41:50 AM
Do you mean as selectable values? Make this query your prompt's query. When you drag a value prompt in, name the parameter then click next, create a filter if needed, do not define a new query. then highlight the value prompt, attach it to your query via properties and select the use value you want from the data items in that query.