0
votes

I am trying to develop a report in SQL Server Reporting Services using parameters.

I have no problem creating the parameters and running the reports, but I always have to select an item from each of the parameters to make it run. Can I have the option to leave one of the parameters blank and still have the report run? Right now when I hit 'view report', I always get the error that I must make a selection to continue.

1

1 Answers

3
votes

Check off the Allow blank value checkbox for the parameter(s) you want to allow a blank value for.

  1. Right click anywhere outside the report on the Layout tab
  2. Select Report Parameters
  3. Select the parameter you want to allow blank values for
  4. Check off the Allow blank value checkbox

Repeat as needed for each parameter.