|
From: SalemOR97301 on 25 Jun 2008 18:14 Hello All- I am trying to create a prompt in report parameters but I am getting the value for every row in the query. How do I only display a single instance of each choice? Also - when I do pick one, the report still shows everything even different items than I want. What can I do to fix this problem? Thanks, GT
From: TheRealRobbie on 30 Jun 2008 04:00 GT, First of all, I'm guessing you're using a select query to populate the parameter list. Simply do a "distinct" in that query. Example: Select distinct catagory_name from sales_orders For the second question; have you included the paramater name in your query? For example, if you have a parameter with catagories, and you want to filter on this, you would have to alter your query to select * from sales_orders where catagory_name in (@name_of_your_parameter) (Note, this is for a multi-value parameter) Good luck, Rob "SalemOR97301" wrote: > Hello All- > > I am trying to create a prompt in report parameters but I am getting the > value for every row in the query. How do I only display a single instance of > each choice? Also - when I do pick one, the report still shows everything > even different items than I want. What can I do to fix this problem? > > Thanks, > > GT > > >
|
Pages: 1 Prev: Conditionally nullable parameters Next: Conditional Group Calculations |