Building a report in VS2013. I have a parameter that needs to be able to be null. I can successfully run the report in the query builder, with a null parameter value. But if I run the report in preview or deployed, there is no NULL check box next to the parameter select, so it demands a value.
My stored proc has an optional parameter and it is coded to accept null in the where clause:
spAccomplishedSummaryGet @BurnType char = NULL
...
AND ((r.BurnType = @BurnType) OR @BurnType IS NULL)
The burn type parameter gets its values from a query. I have selected "allow null"
I'm sure I can add a 'null' value to the burntype list, but before I do that I wanted to see if there is a better way.