We have a report where a user can search for persons.One of the parameters allows the user to select which indicators a person needs to have in order to be returned. There are six possible indicators (IDs 1 to 6) and the person should have all of the indicators a user selects in order to be returned (they can have others too but they must have ALL the ones the user selects). I've got that bit working fine.However, there is also a need for the user to be able to select nothing in this drop down and the have the report effectively disregard this parameter. So for example, if the user entered a surname of Smith and choose nothing in the indicators list, they should get all the Smiths in the database regardless of what indicators they have.I'm really looking for a way of allowing a use to select none of the items in a multi valued parameter but when I do this I get a message asking to provide a value for the parameter. I've tried setting it to allow blanks but still get the message. Setting a multi valued parameter to allow Nulls is not allowed.NB this is not the same as having them Select All because, in this paradigm, that would be the equivalent of searching for Persons who had all of the possible indicators.P.S. Apologies in advance for not providing sample data but 1. this question's not really data dependent and 2. I'm getting a weird problem when I try to post with a script at the moment. I'm hoping that by keeping this post nice and simple, it'll post successfully. Fingers crossed.
↧