Select All as default value for Multivalue parameter

后端 未结 7 1666
无人共我
无人共我 2020-12-13 17:07

I\'m building a report in Visual Studio 2008 with a lot of multivalue parameters and it\'s working great, but I would like to have have the \"(Select all)\" option as the de

7条回答
  •  误落风尘
    2020-12-13 17:59

    Does not work if you have nulls.

    You can get around this by modifying your select statement to plop something into nulls:

    phonenumber = CASE
      WHEN (isnull(phonenumber, '')='') THEN '(blank)'
      ELSE phonenumber
    END
    

提交回复
热议问题