one parameter returning all,remining parameters also need to return ALL

  • i have 6 parameters ,in this 4th parameter returns "ALL" 5th and 6th also in need to return all

    5,6 have available values, where i have to write expression

    Regards

    Arjun

  • Hi, are you using a stored procedure in your dataset definition or are you typing in the query directly?

    ----------------------------------------------------

  • This sounds like you want to make the value(s) available in param 5 and 6 dependent on the values selected in param 4 - is this correct ?

    i.e. if you select "all" in param 4, then either show "all" and nothing else in param 5 and 6 OR show "all" as well as other values in param 5 and 6. If "all" is not selected in param 4, then show everything except all in param 5 and 6.

    To do this sort of thing, I would create datasets for param 5 and for param 6 - these datasets would be used to populate the available values for param 5 and param 6. Each of these datasets would have the value selected in param 4 as a parameter to the dataset. Using that parameter, the logic for returning the "all" value can be made conditional on whether has been selected in param 4.

  • Yeah, he could be implying cascading parameters. It is just not clear (beyond a reasonable doubt) from the post itself.

    In SSRS 2005 I notice stored procedures in the dataset do not produce the ALL option as an "array" item to a paramater when that parameter is a multi-value one and has its available values tied to a dataset. Hard coding the dataset in the report does. For instance,

    SELECT customerName form Customer

    will show the individual customers and the ALL option in the drop down for the corresponding multi-value report parameter.

    ----------------------------------------------------

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply