Quantcast
Channel: SQLServerCentral » Reporting Services » Reporting Services » Latest topics
Viewing all articles
Browse latest Browse all 2791

multi-selection option control does not work

$
0
0
Hello,I'm developing a report project in Visual Studio 2008. I suppose this is "Report Designer" and not SSRS. However, the look and feel between the two is very similar.Does the multi-selection option parameter work for anyone else? It seems buggy to me. When I choose all the values in the list, the report only shows data for one of the choices.I have a dataset for the parameter. It selects an ID and a name from a table. Since the designer of the database used decimal values for his table keys (with no fraction defined anyplace), I also cast the decimal value into an integer field. This query looks like: select distinct staff_id, convert(int, staff_id) as staff_id_int, supervisor name from ...The parameter is named pSupervisor_ID. The value field is the staff_id_int field. The label is the supervisor name. "Allow multiple values" is checked. When I preview the report, the parameter field looks right.The detail query has a filter set. I also cast the supervisor_id as an int field. Very importantly, the filter operator is set to "In". The value of the filter is the name of the parameter: (=Parameters!pSupervisor_ID.Value(0)).When I run the report and choose "all" supervisors the data for only one appears in the detail. Does anyone have an idea why?Thanks,

Viewing all articles
Browse latest Browse all 2791

Trending Articles