简体   繁体   中英

Parameters in SSRS

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM