I have a dataset (dsCategories) that populates a multiselect drop down list (prmPropCat). If the user selects all the Categories in prmPropCat I want to pass null to the stored procedure instead of all the Categories. prmPropCat is passed as a parameter to another dataset called dsInfo. How do I compare the values in dsCategories and prmPropCat? This is what I have so far:
IIF((Parameters!prmPropCat.Count = COUNT(Fields!CO_NM.Value, "dsCompanyList"), Nothing, Parameters!prmPropCat.Value)
But I get an error that Fields cannot be used in the parameters tab.
Thanks for the help!