
Hi,
I have create SSRS Report parameter from base enum ProjType. I need to make it optional, as right now its not optional, first element is selected by default and I am unable to unselect it.
I have mark it optional in report, but its not working. Please help me to make it optional, by default first element should not be selected. If user need to select some project type, it should be his choice. Many Thanks
An enum is a list of a possible values; no other can be used. For example, if an enum has Yes and No, you can't decide to use a third value - an empty one. That's neither Yes nor No and therefore it's not valid.
But you can use an enum that has an element for the empty value, such as HcmBlankNoYes enum.
Also, a better approach in your case may be using a query range instead of a parameter. You can easily leave the range empty and it also allows using more than one type at once.